[Scummvm-cvs-logs] SF.net SVN: scummvm:[41946] scummvm/trunk/engines/kyra/wsamovie.cpp
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Mon Jun 29 18:08:01 CEST 2009
Revision: 41946
http://scummvm.svn.sourceforge.net/scummvm/?rev=41946&view=rev
Author: lordhoto
Date: 2009-06-29 16:08:00 +0000 (Mon, 29 Jun 2009)
Log Message:
-----------
Change raw palette read to Screen::loadPalette call.
Modified Paths:
--------------
scummvm/trunk/engines/kyra/wsamovie.cpp
Modified: scummvm/trunk/engines/kyra/wsamovie.cpp
===================================================================
--- scummvm/trunk/engines/kyra/wsamovie.cpp 2009-06-29 16:07:46 UTC (rev 41945)
+++ scummvm/trunk/engines/kyra/wsamovie.cpp 2009-06-29 16:08:00 UTC (rev 41946)
@@ -64,7 +64,7 @@
offsPal = 0x300;
_flags |= WF_HAS_PALETTE;
if (palBuf)
- memcpy(palBuf->getData(), wsaData + 8 + (_numFrames << 2), 0x300);
+ _screen->loadPalette(wsaData + 8 + ((_numFrames << 2) & 0xFFFF), *palBuf, 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