[Scummvm-cvs-logs] SF.net SVN: scummvm: [22033] scummvm/trunk/engines/simon/simon.cpp

kirben at users.sourceforge.net kirben at users.sourceforge.net
Wed Apr 19 04:02:02 CEST 2006


Revision: 22033
Author:   kirben
Date:     2006-04-19 04:01:03 -0700 (Wed, 19 Apr 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=22033&view=rev

Log Message:
-----------
Add minor code differences in FF, might help corrupt graphics

Modified Paths:
--------------
    scummvm/trunk/engines/simon/simon.cpp
Modified: scummvm/trunk/engines/simon/simon.cpp
===================================================================
--- scummvm/trunk/engines/simon/simon.cpp	2006-04-19 07:43:32 UTC (rev 22032)
+++ scummvm/trunk/engines/simon/simon.cpp	2006-04-19 11:01:03 UTC (rev 22033)
@@ -2227,8 +2227,10 @@
 
 void SimonEngine::checkRunningAnims(byte *end) {
 	VgaSprite *vsp;
-	if (_lockWord & 0x20)
+	if ((getGameType() == GType_SIMON1 || getGameType() == GType_SIMON2) &&
+		(_lockWord & 0x20)) {
 		return;
+	}
 
 	for (vsp = _vgaSprites; vsp->id; vsp++) {
 		checkAnims(vsp->zoneNum, end);
@@ -2276,8 +2278,10 @@
 	_windowNum = mode;
 	_lockWord |= 0x20;
 
-	if (getGameType() == GType_FF)
+	if (getGameType() == GType_FF) {
+		vc27_resetSprite();
 		vga_res_id &= 0xFFFF;
+	}
 
 	if (vga_res_id == 0) {
 		if (getGameType() == GType_SIMON1) {


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