mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-31 16:03:24 +00:00
Change raw palette read to Screen::loadPalette call.
svn-id: r41946
This commit is contained in:
parent
0bf94cb194
commit
3bde2647b6
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user