From 56123c3edb86b49da7b195cd2c637ae9a5a8fd9e Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Mon, 28 May 2007 00:10:21 +0000 Subject: Correct the lockWord check in pokePalette video opcode. svn-id: r26984 --- engines/agos/vga.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/agos') 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++; } -- cgit v1.2.3