[Scummvm-cvs-logs] CVS: scummvm/scumm script.cpp,1.154,1.155

Max Horn fingolfin at users.sourceforge.net
Sun Mar 28 14:20:12 CEST 2004


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

Modified Files:
	script.cpp 
Log Message:
Proper copy-protection bypass for Mac Loom (still crashes when entering the right code, though)

Index: script.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script.cpp,v
retrieving revision 1.154
retrieving revision 1.155
diff -u -d -r1.154 -r1.155
--- script.cpp	21 Feb 2004 15:12:46 -0000	1.154
+++ script.cpp	28 Mar 2004 22:06:38 -0000	1.155
@@ -501,8 +501,9 @@
 				// during the game...
 				if (_gameId == GID_INDY3 && (_features & GF_OLD_BUNDLE) && var == 94 && bit == 4) {
 					return 0;
-//				} else if (_gameId == GID_LOOM && var == 221 && bit == 14) {	// For Mac Loom
-				} else if (_gameId == GID_LOOM && var == 214 && bit == 15) {	// For PC Loom
+				} else if (var == 221 && bit == 14 && _gameId == GID_LOOM && (_features & GF_MACINTOSH)) {	// For Mac Loom
+					return 0;
+				} else if (var == 214 && bit == 15 && _gameId == GID_LOOM && (_features & GF_PC)) {	// For PC Loom
 					return 0;
 				} else if (_gameId == GID_ZAK256 && var == 151 && bit == 8) {
 					return 0;





More information about the Scummvm-git-logs mailing list