aboutsummaryrefslogtreecommitdiff
path: root/gameDetector.cpp
diff options
context:
space:
mode:
authorLionel Ulmer2002-05-02 19:48:28 +0000
committerLionel Ulmer2002-05-02 19:48:28 +0000
commit1aefb8f6c9738c9a54f6b4c7523ab152a27ba0a3 (patch)
treeb7c327a5140ee1df4c4bdfd7655c9835f1457332 /gameDetector.cpp
parent7227c9eb7926e1aa828aa9fa075d6f2503a604da (diff)
downloadscummvm-rg350-1aefb8f6c9738c9a54f6b4c7523ab152a27ba0a3.tar.gz
scummvm-rg350-1aefb8f6c9738c9a54f6b4c7523ab152a27ba0a3.tar.bz2
scummvm-rg350-1aefb8f6c9738c9a54f6b4c7523ab152a27ba0a3.zip
Clarified the '-t' option help text (by showing 0x1F0000 instead of
1F0000). svn-id: r4175
Diffstat (limited to 'gameDetector.cpp')
-rw-r--r--gameDetector.cpp4
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);