mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 12:39:56 +00:00
Correct the lockWord check in pokePalette video opcode.
svn-id: r26984
This commit is contained in:
parent
233971ed31
commit
56123c3edb
@ -1258,7 +1258,7 @@ void AGOSEngine::vc37_pokePalette() {
|
||||
palptr[2] = ((color & 0x00f) >> 0) * 32;
|
||||
palptr[3] = 0;
|
||||
|
||||
if (_lockWord & 0x20) {
|
||||
if (!(_lockWord & 0x20)) {
|
||||
_paletteFlag = 1;
|
||||
_displayScreen++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user