aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gameDetector.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gameDetector.cpp b/gameDetector.cpp
index 71e79519c1..cc364a653c 100644
--- a/gameDetector.cpp
+++ b/gameDetector.cpp
@@ -210,8 +210,8 @@ void GameDetector::parseCommandLine(int argc, char **argv)
s = GET_VALUE();
if (*s == '\0')
goto ShowHelpAndExit;
- _gameTempo = strtol(s + 1, 0, 0);
- scummcfg->set("tempo", s + 1);
+ _gameTempo = strtol(s, 0, 0);
+ scummcfg->set("tempo", s);
goto NextArg;
case 'v':
printf("ScummVM " SCUMMVM_VERSION "\nBuilt on " __DATE__ " "