aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2002-10-01 23:08:54 +0000
committerMax Horn2002-10-01 23:08:54 +0000
commit1e626a712828e630d0a8583ab1a9a0b838d2d6cf (patch)
tree30c18eef2307f1e984c5646aed74fb98f34c4164
parent273e4b47405bf0657f9915ca5e65f8601789a0b1 (diff)
downloadscummvm-rg350-1e626a712828e630d0a8583ab1a9a0b838d2d6cf.tar.gz
scummvm-rg350-1e626a712828e630d0a8583ab1a9a0b838d2d6cf.tar.bz2
scummvm-rg350-1e626a712828e630d0a8583ab1a9a0b838d2d6cf.zip
don't print usage information if no params are given
svn-id: r5067
-rw-r--r--common/gameDetector.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/common/gameDetector.cpp b/common/gameDetector.cpp
index 0579405ff7..7a2fcdb3d8 100644
--- a/common/gameDetector.cpp
+++ b/common/gameDetector.cpp
@@ -174,13 +174,6 @@ void GameDetector::parseCommandLine(int argc, char **argv)
char c;
_save_slot = -1;
- // check for arguments
- if (argc < 2) {
- printf(USAGE_STRING);
- //exit(1);
- }
-
- g_config->set_domain("game-specific");
/* Parse the arguments */
for (i = argc - 1; i >= 1; i--) {
s = argv[i];