[Scummvm-cvs-logs] SF.net SVN: scummvm: [23054] scummvm/branches/branch-0-9-0/engines/simon

kirben at users.sourceforge.net kirben at users.sourceforge.net
Mon Jun 12 08:47:38 CEST 2006


Revision: 23054
Author:   kirben
Date:     2006-06-11 23:47:33 -0700 (Sun, 11 Jun 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=23054&view=rev

Log Message:
-----------
Fix bug #1500552 - FF: Glitches in Swamp Soup game of arcade

Modified Paths:
--------------
    scummvm/branches/branch-0-9-0/engines/simon/event.cpp
    scummvm/branches/branch-0-9-0/engines/simon/vga.cpp
Modified: scummvm/branches/branch-0-9-0/engines/simon/event.cpp
===================================================================
--- scummvm/branches/branch-0-9-0/engines/simon/event.cpp	2006-06-12 06:00:52 UTC (rev 23053)
+++ scummvm/branches/branch-0-9-0/engines/simon/event.cpp	2006-06-12 06:47:33 UTC (rev 23054)
@@ -348,7 +348,11 @@
 	}
 
 	if (_copyPartialMode == 2) {
-		fillFrontFromBack(176, 61, _screenWidth - 176, 134 - 61);
+		if (getGameType() == GType_FF) {
+			fillFrontFromBack(0, 0, _screenWidth, _screenHeight);
+		} else {
+			fillFrontFromBack(176, 61, _screenWidth - 176, 134 - 61);
+		}
 		_copyPartialMode = 0;
 	}
 

Modified: scummvm/branches/branch-0-9-0/engines/simon/vga.cpp
===================================================================
--- scummvm/branches/branch-0-9-0/engines/simon/vga.cpp	2006-06-12 06:00:52 UTC (rev 23053)
+++ scummvm/branches/branch-0-9-0/engines/simon/vga.cpp	2006-06-12 06:47:33 UTC (rev 23054)
@@ -1730,7 +1730,9 @@
 	uint16 vga_res = vcReadNextWord();
 	uint16 windowNum = vcReadNextWord();
 
-	if (getGameType() == GType_SIMON2) {
+	if (getGameType() == GType_FF) {
+		_copyPartialMode = 2;
+	} else if (getGameType() == GType_SIMON2) {
 		set_video_mode_internal(windowNum, vga_res);
 	} else if (getGameType() == GType_SIMON1) {
 		if (windowNum == 16) {


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