[Scummvm-cvs-logs] CVS: scummvm/scumm intern.h,2.488,2.489 scumm.cpp,1.518,1.519

kirben kirben at users.sourceforge.net
Tue May 17 19:58:23 CEST 2005


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23619/scumm

Modified Files:
	intern.h scumm.cpp 
Log Message:

Limit to C64 maniac.


Index: intern.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/intern.h,v
retrieving revision 2.488
retrieving revision 2.489
diff -u -d -r2.488 -r2.489
--- intern.h	18 May 2005 02:37:23 -0000	2.488
+++ intern.h	18 May 2005 02:56:41 -0000	2.489
@@ -377,7 +377,7 @@
 };
 
 /**
- * Engine for Commodore 64 versions of version 1 SCUMM games.
+ * Engine for Commodore 64 version of Maniac Mansion
  */
 class ScummEngine_c64 : public ScummEngine_v2 {
 protected:

Index: scumm.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/scumm.cpp,v
retrieving revision 1.518
retrieving revision 1.519
diff -u -d -r1.518 -r1.519
--- scumm.cpp	18 May 2005 02:32:25 -0000	1.518
+++ scumm.cpp	18 May 2005 02:56:41 -0000	1.519
@@ -2878,8 +2878,7 @@
 	switch (game.version) {
 	case 1:
 	case 2:
-		// Limit to C64 MM?
-		if (game.platform == Common::kPlatformC64)
+		if (game.id == GID_MANIAC && game.platform == Common::kPlatformC64)
 			engine = new ScummEngine_c64(detector, syst, game, md5sum);
 		else
 			engine = new ScummEngine_v2(detector, syst, game, md5sum);





More information about the Scummvm-git-logs mailing list