[Scummvm-cvs-logs] SF.net SVN: scummvm:[49709] scummvm/trunk/engines/drascula/graphics.cpp

sev at users.sourceforge.net sev at users.sourceforge.net
Tue Jun 15 12:20:27 CEST 2010


Revision: 49709
          http://scummvm.svn.sourceforge.net/scummvm/?rev=49709&view=rev
Author:   sev
Date:     2010-06-15 10:20:26 +0000 (Tue, 15 Jun 2010)

Log Message:
-----------
Drascula: ease load on backend.

Modified Paths:
--------------
    scummvm/trunk/engines/drascula/graphics.cpp

Modified: scummvm/trunk/engines/drascula/graphics.cpp
===================================================================
--- scummvm/trunk/engines/drascula/graphics.cpp	2010-06-15 10:20:10 UTC (rev 49708)
+++ scummvm/trunk/engines/drascula/graphics.cpp	2010-06-15 10:20:26 UTC (rev 49709)
@@ -205,9 +205,7 @@
 }
 
 void DrasculaEngine::updateScreen(int xorg, int yorg, int xdes, int ydes, int width, int height, byte *buffer) {
-	byte *screenBuffer = (byte *)_system->lockScreen()->pixels;
-	copyBackground(xorg, yorg, xdes, ydes, width, height, buffer, screenBuffer);
-	_system->unlockScreen();
+	_system->copyRectToScreen(buffer + xorg + yorg * 320, 320, xdes, ydes, width, height);
 	_system->updateScreen();
 }
 


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