aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorColin Snover2017-09-27 12:01:26 -0500
committerColin Snover2017-09-27 12:02:01 -0500
commit9e0f23aabb8e0321b6829de6ffa56c7b8fb9c09f (patch)
tree2f623b71cd38af016ee1fdafcda4fe70ac6e8336 /engines/sci
parentc86e7e4f3f54a738a7c35f12773b4ce167294ae0 (diff)
downloadscummvm-rg350-9e0f23aabb8e0321b6829de6ffa56c7b8fb9c09f.tar.gz
scummvm-rg350-9e0f23aabb8e0321b6829de6ffa56c7b8fb9c09f.tar.bz2
scummvm-rg350-9e0f23aabb8e0321b6829de6ffa56c7b8fb9c09f.zip
SCI32: Fix backwards palette check
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/graphics/palette32.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/engines/sci/graphics/palette32.cpp b/engines/sci/graphics/palette32.cpp
index 9a2fa2c36c..d8a2ead66d 100644
--- a/engines/sci/graphics/palette32.cpp
+++ b/engines/sci/graphics/palette32.cpp
@@ -531,18 +531,18 @@ void GfxPalette32::updateHardware() {
#endif
#ifdef ENABLE_SCI32_MAC
- if (g_sci->getPlatform() != Common::kPlatformMacintosh) {
- // The last color must always be white
- bpal[255 * 3 ] = 255;
- bpal[255 * 3 + 1] = 255;
- bpal[255 * 3 + 2] = 255;
+ if (g_sci->getPlatform() == Common::kPlatformMacintosh) {
+ bpal[255 * 3 ] = 0;
+ bpal[255 * 3 + 1] = 0;
+ bpal[255 * 3 + 2] = 0;
} else {
#else
{
#endif
- bpal[255 * 3 ] = 0;
- bpal[255 * 3 + 1] = 0;
- bpal[255 * 3 + 2] = 0;
+ // The last color must always be white
+ bpal[255 * 3 ] = 255;
+ bpal[255 * 3 + 1] = 255;
+ bpal[255 * 3 + 2] = 255;
}
// If the system is in a high color mode, which can happen during video