[Scummvm-cvs-logs] CVS: scummvm/common gameDetector.cpp,1.145,1.146
Travis Howell
kirben at users.sourceforge.net
Fri Sep 5 09:13:10 CEST 2003
Update of /cvsroot/scummvm/scummvm/common
In directory sc8-pr-cvs1:/tmp/cvs-serv3169/common
Modified Files:
gameDetector.cpp
Log Message:
Fix platform command line and add to readme
Index: gameDetector.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/gameDetector.cpp,v
retrieving revision 1.145
retrieving revision 1.146
diff -u -d -r1.145 -r1.146
--- gameDetector.cpp 5 Sep 2003 10:53:57 -0000 1.145
+++ gameDetector.cpp 5 Sep 2003 16:12:54 -0000 1.146
@@ -83,7 +83,7 @@
"\t-d[<num>] - Enable debug output (debug level [1])\n"
"\t-u - Dump scripts\n"
"\n"
- "\t--platform - Specify version of game (amiga,atari-st,macintosh)\n"
+ "\t--platform= - Specify version of game (amiga,atari-st,macintosh)\n"
"\t--multi-midi - Enable combination Adlib and native MIDI\n"
"\t--native-mt32 - True Roland MT-32 (disable GM emulation)\n"
"\t--fullscreen - Full-screen mode (same as -f)\n"
@@ -502,8 +502,8 @@
exit(1);
case '-':
// Long options. Let the fun begin!
- if (!strncmp(s, "platform", 8)) {
- s += 8;
+ if (!strncmp(s, "platform=", 9)) {
+ s += 9;
if (!strcmp (s, "amiga"))
_platform = 1;
else if (!strcmp (s, "atari-st"))
More information about the Scummvm-git-logs
mailing list