diff options
-rw-r--r-- | gameDetector.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gameDetector.cpp b/gameDetector.cpp index d1989f515c..c375a783b0 100644 --- a/gameDetector.cpp +++ b/gameDetector.cpp @@ -48,7 +48,7 @@ static const char USAGE_STRING[] = "\t-d[<num>] - enable debug output (debug level [1])\n" "\t-n - no subtitles for speech\n" "\t-b<num> - start in room <num>\n" - "\t-t<num> - set music tempo (suggested: 1F0000)\n" + "\t-t<num> - set music tempo (suggested: 0x1F0000)\n" "\t-p<path> - look for game in <path>\n" "\t-m<num> - set music volume to <num> (0-100)\n" "\t-s<num> - set sfx volume to <num> (0-255)\n" @@ -85,7 +85,7 @@ void GameDetector::updateconfig() _gameDataPath = Scumm::Strdup(val); if ((val = scummcfg->get("tempo"))) - _gameTempo = strtol(val, 0, 0); + _gameTempo = strtol(val, NULL, 0); if ((val = scummcfg->get("music_volume"))) _music_volume = atoi(val); |