[Scummvm-cvs-logs] CVS: scummvm gameDetector.cpp,1.49,1.50

Lionel Ulmer bbrox at users.sourceforge.net
Thu May 2 12:49:29 CEST 2002


Update of /cvsroot/scummvm/scummvm
In directory usw-pr-cvs1:/tmp/cvs-serv9445

Modified Files:
	gameDetector.cpp 
Log Message:
Clarified the '-t' option help text (by showing 0x1F0000 instead of
1F0000).



Index: gameDetector.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/gameDetector.cpp,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -d -r1.49 -r1.50
--- gameDetector.cpp	2 May 2002 18:59:31 -0000	1.49
+++ gameDetector.cpp	2 May 2002 19:48:28 -0000	1.50
@@ -48,7 +48,7 @@
 	"\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 @@
 		_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);





More information about the Scummvm-git-logs mailing list