Skip to content

Commit

Permalink
TINSEL: Fix the colors in the Mac version of DW1
Browse files Browse the repository at this point in the history
  • Loading branch information
bluegr committed Dec 11, 2012
1 parent 344d6bc commit 532194d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions engines/tinsel/palette.cpp
Expand Up @@ -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);

Expand Down

0 comments on commit 532194d

Please sign in to comment.