[Scummvm-cvs-logs] SF.net SVN: scummvm:[36330] scummvm/trunk/engines/sword1/animation.cpp

eriktorbjorn at users.sourceforge.net eriktorbjorn at users.sourceforge.net
Sat Feb 14 16:52:32 CET 2009


Revision: 36330
          http://scummvm.svn.sourceforge.net/scummvm/?rev=36330&view=rev
Author:   eriktorbjorn
Date:     2009-02-14 15:52:31 +0000 (Sat, 14 Feb 2009)

Log Message:
-----------
Fixed bug #2599531 ("SWORD1: truck.dxa plays striped"). The last parameter to
copyFrameToBuffer() is the pitch of the destination buffer, not the frame.

Modified Paths:
--------------
    scummvm/trunk/engines/sword1/animation.cpp

Modified: scummvm/trunk/engines/sword1/animation.cpp
===================================================================
--- scummvm/trunk/engines/sword1/animation.cpp	2009-02-14 15:21:52 UTC (rev 36329)
+++ scummvm/trunk/engines/sword1/animation.cpp	2009-02-14 15:52:31 UTC (rev 36330)
@@ -442,7 +442,7 @@
 
 void MoviePlayerDXA::updateScreen(void) {
 	Graphics::Surface *frameBuffer = _system->lockScreen();
-	copyFrameToBuffer((byte *)frameBuffer->pixels, _frameX, _frameY, _frameWidth);
+	copyFrameToBuffer((byte *)frameBuffer->pixels, _frameX, _frameY, 640);
 
 	// TODO: Handle the advanced cutscene packs. Do they really exist?
 


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