mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-08 19:00:57 +00:00
Fix painting and fridge magnet palette glitches in thinker1
svn-id: r21522
This commit is contained in:
parent
8a5df05aa0
commit
7a81cc76e1
@ -689,12 +689,11 @@ void ScummEngine_v90he::o90_wizImageOps() {
|
||||
_wizParams.processMode = 6;
|
||||
if (_wizParams.remapNum == 0) {
|
||||
memset(_wizParams.remapIndex, 0, sizeof(_wizParams.remapIndex));
|
||||
} else {
|
||||
assert(_wizParams.remapNum < ARRAYSIZE(_wizParams.remapIndex));
|
||||
_wizParams.remapIndex[_wizParams.remapNum] = a;
|
||||
_wizParams.remapColor[a] = b;
|
||||
++_wizParams.remapNum;
|
||||
}
|
||||
assert(_wizParams.remapNum < ARRAYSIZE(_wizParams.remapIndex));
|
||||
_wizParams.remapIndex[_wizParams.remapNum] = a;
|
||||
_wizParams.remapColor[a] = b;
|
||||
_wizParams.remapNum++;
|
||||
break;
|
||||
case 21:
|
||||
_wizParams.processFlags |= kWPFClipBox;
|
||||
|
@ -1957,9 +1957,7 @@ void Wiz::processWizImage(const WizParameters *params) {
|
||||
}
|
||||
break;
|
||||
case 6:
|
||||
if (params->processFlags & kWPFRemapPalette) {
|
||||
remapWizImagePal(params);
|
||||
}
|
||||
remapWizImagePal(params);
|
||||
break;
|
||||
// HE 99+
|
||||
case 7:
|
||||
|
Loading…
Reference in New Issue
Block a user