Fix room palette issues in small_header games.
Fix is only for EGA games so far. svn-id: r9873
This commit is contained in:
parent
6969357505
commit
06d07054c3
7 changed files with 31 additions and 17 deletions
|
@ -1666,8 +1666,12 @@ void Scumm_v5::o5_roomOps() {
|
|||
// for GF_SMALL_HEADER games. Needs investigation.
|
||||
// printf("copyPalColor(%d, %d)\n", a, b);
|
||||
// copyPalColor(a, b);
|
||||
_shadowPalette[b] = a;
|
||||
setDirtyColors(b, b);
|
||||
if (_features & GF_16COLOR) {
|
||||
_roomPalette[b] = a;
|
||||
} else {
|
||||
_shadowPalette[b] = a;
|
||||
setDirtyColors(b, b);
|
||||
}
|
||||
} else {
|
||||
error("room-color is no longer a valid command");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue