From 3391c726cf2cdb6a5523765eefdeb124291f5608 Mon Sep 17 00:00:00 2001 From: Bastien Bouclet Date: Sun, 26 Jun 2016 07:20:21 +0200 Subject: MOHAWK: Remap bitmaps not to use undefined colors The Spanish version of Myst has bitmaps that use palette indices in the system reserved range. Affected pixels previously used colors from the Windows system palette instead of the bitmap's own palette, resulting in visual glitches. Bitmaps are now remapped to the screen palette which is made of the Windows reserved palette and part of the bitmap palette. The original engine used GDI's StretchDIBits with DIB_RGB_COLORS to achieve the same result. Fixes #7153. --- engines/mohawk/cursors.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'engines/mohawk/cursors.h') diff --git a/engines/mohawk/cursors.h b/engines/mohawk/cursors.h index c41b5c273e..742ae30107 100644 --- a/engines/mohawk/cursors.h +++ b/engines/mohawk/cursors.h @@ -102,7 +102,6 @@ enum { }; class MohawkEngine_Myst; -class MystBitmap; // The cursor manager for Myst // Uses WDIB + CLRC resources @@ -119,7 +118,6 @@ public: private: MohawkEngine_Myst *_vm; - MystBitmap *_bmpDecoder; }; #endif // ENABLE_MYST -- cgit v1.2.3