[Scummvm-cvs-logs] SF.net SVN: scummvm:[43189] scummvm/trunk/engines/kyra/screen.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Mon Aug 10 01:32:52 CEST 2009


Revision: 43189
          http://scummvm.svn.sourceforge.net/scummvm/?rev=43189&view=rev
Author:   lordhoto
Date:     2009-08-09 23:32:52 +0000 (Sun, 09 Aug 2009)

Log Message:
-----------
Clear the destination page for bitmap loading, this fixes graphics artifacts in Kyra1 amiga.

Modified Paths:
--------------
    scummvm/trunk/engines/kyra/screen.cpp

Modified: scummvm/trunk/engines/kyra/screen.cpp
===================================================================
--- scummvm/trunk/engines/kyra/screen.cpp	2009-08-09 23:23:48 UTC (rev 43188)
+++ scummvm/trunk/engines/kyra/screen.cpp	2009-08-09 23:32:52 UTC (rev 43189)
@@ -2715,6 +2715,7 @@
 
 	uint8 *srcPtr = srcData + 10 + palSize;
 	uint8 *dstData = getPagePtr(dstPage);
+	memset(dstData, 0, SCREEN_PAGE_SIZE);
 	if (dstPage == 0 || tempPage == 0)
 		_forceFullUpdate = true;
 


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