[Scummvm-cvs-logs] CVS: scummvm/scumm scummvm.cpp,2.367,2.368

Travis Howell kirben at users.sourceforge.net
Fri Sep 5 03:55:08 CEST 2003


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv4524/scumm

Modified Files:
	scummvm.cpp 
Log Message:

Use --platform option, instead of system specific options.
Needs config support added.


Index: scummvm.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/scummvm.cpp,v
retrieving revision 2.367
retrieving revision 2.368
diff -u -d -r2.367 -r2.368
--- scummvm.cpp	5 Sep 2003 07:36:05 -0000	2.367
+++ scummvm.cpp	5 Sep 2003 10:53:57 -0000	2.368
@@ -232,12 +232,16 @@
 Engine *Engine_SCUMM_create(GameDetector *detector, OSystem *syst) {
 	Engine *engine;
 
-	if (detector->_amiga)
+	switch (detector->_platform) {
+	case 1:
 		detector->_game.features |= GF_AMIGA;
-	if (detector->_atari_st)
+		break;
+	case 2:
 		detector->_game.features |= GF_ATARI_ST;
-	if (detector->_macintosh) {
+		break;
+	case 3:
 		detector->_game.features |= GF_MACINTOSH;
+		break;
 	}
 
 	switch (detector->_game.version) {





More information about the Scummvm-git-logs mailing list