added v1 gfx codec, (not working)

svn-id: r8329
This commit is contained in:
Paweł Kołodziejski 2003-06-05 17:22:15 +00:00
parent 41c03fa082
commit 94bbf1b9a0
5 changed files with 112 additions and 36 deletions

View file

@ -162,7 +162,10 @@ bool Scumm::loadState(int slot, bool compat, SaveFileManager *mgr) {
_completeScreenRedraw = true;
if (_features & GF_16COLOR) {
if (_features & GF_AFTER_V1) {
setupC64Palette();
setDirtyColors(0, 15);
} else if (_features & GF_16COLOR) {
// HACK: There was a time when ScummVM didn't store the
// palette in _currentPalette for 16-color games. To avoid
// breaking savegame compatibility, always set up the default