fix for ega palette, more
svn-id: r6965
This commit is contained in:
parent
f1aa6daf00
commit
c4a51041d4
2 changed files with 5 additions and 2 deletions
|
@ -157,7 +157,9 @@ bool Scumm::loadState(int slot, bool compat, SaveFileManager *mgr) {
|
||||||
initScreens(0, sb, _realWidth, sh);
|
initScreens(0, sb, _realWidth, sh);
|
||||||
|
|
||||||
_completeScreenRedraw = true;
|
_completeScreenRedraw = true;
|
||||||
setDirtyColors(0, 255);
|
|
||||||
|
if (!(_features & GF_16COLOR))
|
||||||
|
setDirtyColors(0, 255);
|
||||||
|
|
||||||
_lastCodePtr = NULL;
|
_lastCodePtr = NULL;
|
||||||
|
|
||||||
|
|
|
@ -1654,7 +1654,8 @@ void Scumm_v5::o5_roomOps() {
|
||||||
}
|
}
|
||||||
checkRange(256, 0, a, "o5_roomOps: 2: Illegal room color slot (%d)");
|
checkRange(256, 0, a, "o5_roomOps: 2: Illegal room color slot (%d)");
|
||||||
_shadowPalette[b] = a;
|
_shadowPalette[b] = a;
|
||||||
setDirtyColors(b, b);
|
if (!(_features & GF_16COLOR))
|
||||||
|
setDirtyColors(b, b);
|
||||||
} else {
|
} else {
|
||||||
a = getVarOrDirectWord(0x80);
|
a = getVarOrDirectWord(0x80);
|
||||||
b = getVarOrDirectWord(0x40);
|
b = getVarOrDirectWord(0x40);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue