[Scummvm-cvs-logs] SF.net SVN: scummvm:[40700] scummvm/trunk/engines/kyra/wsamovie.cpp
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Mon May 18 22:08:19 CEST 2009
Revision: 40700
http://scummvm.svn.sourceforge.net/scummvm/?rev=40700&view=rev
Author: lordhoto
Date: 2009-05-18 20:08:18 +0000 (Mon, 18 May 2009)
Log Message:
-----------
Fixed long standing palette loading bug in WSA v1 code.
Modified Paths:
--------------
scummvm/trunk/engines/kyra/wsamovie.cpp
Modified: scummvm/trunk/engines/kyra/wsamovie.cpp
===================================================================
--- scummvm/trunk/engines/kyra/wsamovie.cpp 2009-05-18 20:07:09 UTC (rev 40699)
+++ scummvm/trunk/engines/kyra/wsamovie.cpp 2009-05-18 20:08:18 UTC (rev 40700)
@@ -65,7 +65,7 @@
offsPal = 0x300;
_flags |= WF_HAS_PALETTE;
if (palBuf)
- memcpy(palBuf, wsaData + (_numFrames + 2) * 4, 0x300);
+ memcpy(palBuf, wsaData + 8 + (_numFrames << 2), 0x300);
}
if (offscreenDecode) {
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