From 1aefb8f6c9738c9a54f6b4c7523ab152a27ba0a3 Mon Sep 17 00:00:00 2001 From: Lionel Ulmer Date: Thu, 2 May 2002 19:48:28 +0000 Subject: Clarified the '-t' option help text (by showing 0x1F0000 instead of 1F0000). svn-id: r4175 --- gameDetector.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gameDetector.cpp') 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[] - enable debug output (debug level [1])\n" "\t-n - no subtitles for speech\n" "\t-b - start in room \n" - "\t-t - set music tempo (suggested: 1F0000)\n" + "\t-t - set music tempo (suggested: 0x1F0000)\n" "\t-p - look for game in \n" "\t-m - set music volume to (0-100)\n" "\t-s - set sfx volume to (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); -- cgit v1.2.3