diff options
author | Nicolas Noble | 2002-04-27 20:48:13 +0000 |
---|---|---|
committer | Nicolas Noble | 2002-04-27 20:48:13 +0000 |
commit | 00c03b9a0d06c3cde47941cef3605162fab0205c (patch) | |
tree | bb2ad37a6a8bff9e33e98f20f3f49b8adab4f26d /gameDetector.cpp | |
parent | ad5c568e59e0ff22a2309a7d23cd3f54f253b69c (diff) | |
download | scummvm-rg350-00c03b9a0d06c3cde47941cef3605162fab0205c.tar.gz scummvm-rg350-00c03b9a0d06c3cde47941cef3605162fab0205c.tar.bz2 scummvm-rg350-00c03b9a0d06c3cde47941cef3605162fab0205c.zip |
Fixed the tempo argument.
svn-id: r4115
Diffstat (limited to 'gameDetector.cpp')
-rw-r--r-- | gameDetector.cpp | 4 |
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__ " " |