[Scummvm-cvs-logs] CVS: scummvm/scumm scummvm.cpp,2.194,2.195

Torbj?rn Andersson eriktorbjorn at users.sourceforge.net
Sat May 31 06:44:06 CEST 2003


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

Modified Files:
	scummvm.cpp 
Log Message:
Set the "machine speed" variable for V2 games. I think it's safe to assume
that modern hardware will handle the more elaborate version of the EGA Zak
intro without any problems.


Index: scummvm.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/scummvm.cpp,v
retrieving revision 2.194
retrieving revision 2.195
diff -u -d -r2.194 -r2.195
--- scummvm.cpp	31 May 2003 11:57:18 -0000	2.194
+++ scummvm.cpp	31 May 2003 13:43:05 -0000	2.195
@@ -810,8 +810,13 @@
 void Scumm::initScummVars() {
 
 	// FIXME
-	if (_features & GF_AFTER_V2)
+	if (_features & GF_AFTER_V2) {
+		// This needs to be at greater than 40 to get the more
+		// elaborate version of the EGA Zak into. I don't know where
+		// else it makes any difference.
+		VAR(VAR_MACHINE_SPEED) = 0x7FFF;
 		return;
+	}
 
 	if (!(_features & GF_AFTER_V6))
 		VAR(VAR_V5_TALK_STRING_Y) = -0x50;





More information about the Scummvm-git-logs mailing list