diff options
author | Johannes Schickel | 2009-06-29 16:08:00 +0000 |
---|---|---|
committer | Johannes Schickel | 2009-06-29 16:08:00 +0000 |
commit | 3bde2647b6ebc4c596c98f8550b3b432441235da (patch) | |
tree | a9e048b5b4b5edc487a49f8c11acddc481470ae7 /engines/kyra | |
parent | 0bf94cb194edcdfe23a53adeb15fec6057e9bc28 (diff) | |
download | scummvm-rg350-3bde2647b6ebc4c596c98f8550b3b432441235da.tar.gz scummvm-rg350-3bde2647b6ebc4c596c98f8550b3b432441235da.tar.bz2 scummvm-rg350-3bde2647b6ebc4c596c98f8550b3b432441235da.zip |
Change raw palette read to Screen::loadPalette call.
svn-id: r41946
Diffstat (limited to 'engines/kyra')
-rw-r--r-- | engines/kyra/wsamovie.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/wsamovie.cpp b/engines/kyra/wsamovie.cpp index 3320b90119..ef3fd1a966 100644 --- a/engines/kyra/wsamovie.cpp +++ b/engines/kyra/wsamovie.cpp @@ -64,7 +64,7 @@ int WSAMovie_v1::open(const char *filename, int offscreenDecode, Palette *palBuf 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) { |