[Scummvm-cvs-logs] SF.net SVN: scummvm: [30213] scummvm/trunk/engines/agi/op_cmd.cpp

buddha_ at users.sourceforge.net buddha_ at users.sourceforge.net
Fri Jan 4 01:24:29 CET 2008


Revision: 30213
          http://scummvm.svn.sourceforge.net/scummvm/?rev=30213&view=rev
Author:   buddha_
Date:     2008-01-03 16:24:29 -0800 (Thu, 03 Jan 2008)

Log Message:
-----------
Make AGIPAL also accept 'pal.100' (Original hacked interpreter also does this).

Modified Paths:
--------------
    scummvm/trunk/engines/agi/op_cmd.cpp

Modified: scummvm/trunk/engines/agi/op_cmd.cpp
===================================================================
--- scummvm/trunk/engines/agi/op_cmd.cpp	2008-01-04 00:00:35 UTC (rev 30212)
+++ scummvm/trunk/engines/agi/op_cmd.cpp	2008-01-04 00:24:29 UTC (rev 30213)
@@ -1332,9 +1332,9 @@
 cmd(shake_screen) {
 	int i;
 
-	// AGIPAL uses shake.screen values between 101 and 109 to
-	// set the palette.
-	if (p0 >= 101 && p0 < 110) {
+	// AGIPAL uses shake.screen values between 100 and 109 to set the palette
+	// (Checked the original AGIPAL-hack's shake.screen-routine's disassembly).
+	if (p0 >= 100 && p0 < 110) {
 		if (g_agi->getFeatures() & GF_AGIPAL) {
 			g_gfx->setAGIPal(p0);
 			return;


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list