From 9e0f23aabb8e0321b6829de6ffa56c7b8fb9c09f Mon Sep 17 00:00:00 2001 From: Colin Snover Date: Wed, 27 Sep 2017 12:01:26 -0500 Subject: SCI32: Fix backwards palette check --- engines/sci/graphics/palette32.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'engines/sci') 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 -- cgit v1.2.3