diff options
author | Torbjörn Andersson | 2009-02-14 15:52:31 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2009-02-14 15:52:31 +0000 |
commit | 6d700452288010202ffff4915c172df2fc086cbe (patch) | |
tree | 0e514148b1a174d22531df3bdcf6a642cd530e3b | |
parent | 6c586b3d4436abc994b5bae39d0c91427259b7b4 (diff) | |
download | scummvm-rg350-6d700452288010202ffff4915c172df2fc086cbe.tar.gz scummvm-rg350-6d700452288010202ffff4915c172df2fc086cbe.tar.bz2 scummvm-rg350-6d700452288010202ffff4915c172df2fc086cbe.zip |
Fixed bug #2599531 ("SWORD1: truck.dxa plays striped"). The last parameter to
copyFrameToBuffer() is the pitch of the destination buffer, not the frame.
svn-id: r36330
-rw-r--r-- | engines/sword1/animation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sword1/animation.cpp b/engines/sword1/animation.cpp index 8219dbce12..04344a9b3f 100644 --- a/engines/sword1/animation.cpp +++ b/engines/sword1/animation.cpp @@ -442,7 +442,7 @@ void MoviePlayerDXA::processFrame(void) { 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? |