[Scummvm-cvs-logs] SF.net SVN: scummvm: [27987] scummvm/branches/branch-0-10-0/engines/agos/ gfx.cpp

Kirben at users.sourceforge.net Kirben at users.sourceforge.net
Mon Jul 9 05:47:46 CEST 2007


Revision: 27987
          http://scummvm.svn.sourceforge.net/scummvm/?rev=27987&view=rev
Author:   Kirben
Date:     2007-07-08 20:47:45 -0700 (Sun, 08 Jul 2007)

Log Message:
-----------
Fix masking in Simon the Sorcerer 1 (Floppy DOS Demo), surf2 wasn't set to the BackGround buffer.

Modified Paths:
--------------
    scummvm/branches/branch-0-10-0/engines/agos/gfx.cpp

Modified: scummvm/branches/branch-0-10-0/engines/agos/gfx.cpp
===================================================================
--- scummvm/branches/branch-0-10-0/engines/agos/gfx.cpp	2007-07-09 02:57:47 UTC (rev 27986)
+++ scummvm/branches/branch-0-10-0/engines/agos/gfx.cpp	2007-07-09 03:47:45 UTC (rev 27987)
@@ -651,6 +651,9 @@
 	} else if (getGameType() == GType_SIMON1 && (getFeatures() & GF_DEMO)) {
 		// The DOS Floppy demo was based off Waxworks engine
 		if (_windowNum == 4 || (_windowNum >= 10 && _windowNum <= 27)) {
+			state->surf2_addr = getBackGround();
+			state->surf2_pitch = _screenWidth;
+
 			state->surf_addr = _window4BackScn;
 			state->surf_pitch = _videoWindows[18] * 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