mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 21:59:17 +00:00
Load/save the 16BitPalette data in PCE version of Loom.
svn-id: r45436
This commit is contained in:
parent
64515d892c
commit
3d80bb47a8
@ -1275,6 +1275,9 @@ void ScummEngine::saveOrLoad(Serializer *s) {
|
||||
//
|
||||
// Save/load palette data
|
||||
//
|
||||
if (_16BitPalette) {
|
||||
s->saveLoadArrayOf(_16BitPalette, 512, sizeof(_16BitPalette[0]), sleUint16);
|
||||
}
|
||||
if (_shadowPaletteSize) {
|
||||
s->saveLoadArrayOf(_shadowPalette, _shadowPaletteSize, 1, sleByte);
|
||||
// _roomPalette didn't show up until V21 save games
|
||||
|
@ -275,6 +275,7 @@ ScummEngine::ScummEngine(OSystem *syst, const DetectorResult &dr)
|
||||
memset(gfxUsageBits, 0, sizeof(gfxUsageBits));
|
||||
_hePalettes = NULL;
|
||||
_hePaletteSlot = 0;
|
||||
_16BitPalette = NULL;
|
||||
_shadowPalette = NULL;
|
||||
_shadowPaletteSize = 0;
|
||||
memset(_currentPalette, 0, sizeof(_currentPalette));
|
||||
|
Loading…
Reference in New Issue
Block a user