diff --git a/engines/scumm/saveload.cpp b/engines/scumm/saveload.cpp index 6dd2ffc0a61..825c9fb7775 100644 --- a/engines/scumm/saveload.cpp +++ b/engines/scumm/saveload.cpp @@ -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 diff --git a/engines/scumm/scumm.cpp b/engines/scumm/scumm.cpp index e04649e1e99..3140ae9b9a6 100644 --- a/engines/scumm/scumm.cpp +++ b/engines/scumm/scumm.cpp @@ -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));