From 532194db1ffa4c7e2425c5735a103e1ae14ed053 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Tue, 11 Dec 2012 22:40:19 +0200 Subject: TINSEL: Fix the colors in the Mac version of DW1 --- engines/tinsel/palette.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'engines/tinsel/palette.cpp') diff --git a/engines/tinsel/palette.cpp b/engines/tinsel/palette.cpp index c7c8cd0b63..11b9c60039 100644 --- a/engines/tinsel/palette.cpp +++ b/engines/tinsel/palette.cpp @@ -170,6 +170,11 @@ void PalettesToVideoDAC() { pal[i * 3 + 2] = TINSEL_GetBValue(pColors[i]); } + // In DW1 Mac, the last palette color should be black. We fix it here. + if (TinselV1Mac) { + pal[254 * 3 + 0] = pal[254 * 3 + 1] = pal[254 * 3 + 2] = 0; + } + // update the system palette g_system->getPaletteManager()->setPalette(pal, pDACtail->destDACindex, pDACtail->numColors); -- cgit v1.2.3