[Scummvm-cvs-logs] SF.net SVN: scummvm: [30214] scummvm/branches/branch-0-11-0/engines/agi/ op_cmd.cpp

buddha_ at users.sourceforge.net buddha_ at users.sourceforge.net
Fri Jan 4 01:28:45 CET 2008


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

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

Modified Paths:
--------------
    scummvm/branches/branch-0-11-0/engines/agi/op_cmd.cpp

Modified: scummvm/branches/branch-0-11-0/engines/agi/op_cmd.cpp
===================================================================
--- scummvm/branches/branch-0-11-0/engines/agi/op_cmd.cpp	2008-01-04 00:24:29 UTC (rev 30213)
+++ scummvm/branches/branch-0-11-0/engines/agi/op_cmd.cpp	2008-01-04 00:28:45 UTC (rev 30214)
@@ -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