diff options
author | Travis Howell | 2007-05-28 00:10:21 +0000 |
---|---|---|
committer | Travis Howell | 2007-05-28 00:10:21 +0000 |
commit | 56123c3edb86b49da7b195cd2c637ae9a5a8fd9e (patch) | |
tree | 261b360b9c6a6787bde63471b4c67890dc4f0523 | |
parent | 233971ed3199c63813541d45211731900394a617 (diff) | |
download | scummvm-rg350-56123c3edb86b49da7b195cd2c637ae9a5a8fd9e.tar.gz scummvm-rg350-56123c3edb86b49da7b195cd2c637ae9a5a8fd9e.tar.bz2 scummvm-rg350-56123c3edb86b49da7b195cd2c637ae9a5a8fd9e.zip |
Correct the lockWord check in pokePalette video opcode.
svn-id: r26984
-rw-r--r-- | engines/agos/vga.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/agos/vga.cpp b/engines/agos/vga.cpp index d89070cb23..ac8bde5d4f 100644 --- a/engines/agos/vga.cpp +++ b/engines/agos/vga.cpp @@ -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++; } |