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

Kirben at users.sourceforge.net Kirben at users.sourceforge.net
Sat Jul 11 02:38:51 CEST 2009


Revision: 42360
          http://scummvm.svn.sourceforge.net/scummvm/?rev=42360&view=rev
Author:   Kirben
Date:     2009-07-11 00:38:50 +0000 (Sat, 11 Jul 2009)

Log Message:
-----------
Fix recent regression in AGOSEngine_Simon1::drawImage().

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

Modified: scummvm/trunk/engines/agos/gfx.cpp
===================================================================
--- scummvm/trunk/engines/agos/gfx.cpp	2009-07-10 23:40:21 UTC (rev 42359)
+++ scummvm/trunk/engines/agos/gfx.cpp	2009-07-11 00:38:50 UTC (rev 42360)
@@ -667,7 +667,7 @@
 			state->surf2_addr = getBackGround();
 			state->surf2_pitch = _backGroundBuf->pitch;
 
-			state->surf_addr = (byte *)_window4BackScn;
+			state->surf_addr = (byte *)_window4BackScn->pixels;
 			state->surf_pitch = _videoWindows[18] * 16;
 
 			xoffs = ((vlut[0] - _videoWindows[16]) * 2 + state->x) * 8;


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