From 6d700452288010202ffff4915c172df2fc086cbe Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Sat, 14 Feb 2009 15:52:31 +0000 Subject: 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 --- engines/sword1/animation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/sword1/animation.cpp') 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? -- cgit v1.2.3