Change raw palette read to Screen::loadPalette call.

svn-id: r41946
This commit is contained in:
Johannes Schickel 2009-06-29 16:08:00 +00:00
parent 0bf94cb194
commit 3bde2647b6

View File

@ -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) {