[Scummvm-cvs-logs] SF.net SVN: scummvm: [25510] scummvm/trunk/engines/agos/script.cpp

kirben at users.sourceforge.net kirben at users.sourceforge.net
Mon Feb 12 06:16:04 CET 2007


Revision: 25510
          http://scummvm.svn.sourceforge.net/scummvm/?rev=25510&view=rev
Author:   kirben
Date:     2007-02-11 21:16:03 -0800 (Sun, 11 Feb 2007)

Log Message:
-----------
Add work around for script bug in Amiga AGA/CD32 verisons of Simon the Sorcerer 1.

Modified Paths:
--------------
    scummvm/trunk/engines/agos/script.cpp

Modified: scummvm/trunk/engines/agos/script.cpp
===================================================================
--- scummvm/trunk/engines/agos/script.cpp	2007-02-12 04:58:49 UTC (rev 25509)
+++ scummvm/trunk/engines/agos/script.cpp	2007-02-12 05:16:03 UTC (rev 25510)
@@ -619,6 +619,14 @@
 	uint vga_res = getVarOrWord();
 	uint mode = getVarOrByte();
 
+	// Work around a script bug in the Amiga AGA/CD32 versions
+	// When selecting locations on the magical map, the script looks
+	// for vga_res 12701, but only vga_res 12700 exists.
+	if (getGameType() == GType_SIMON1 && getPlatform() == Common::kPlatformAmiga &&
+		vga_res == 12701) {
+		vga_res = 12700;
+	}
+
 	_picture8600 = (vga_res == 8600);
 	setWindowImageEx(mode, vga_res);
 }


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