diff options
author | Filippos Karapetis | 2012-12-11 22:40:19 +0200 |
---|---|---|
committer | Filippos Karapetis | 2012-12-11 22:40:19 +0200 |
commit | 532194db1ffa4c7e2425c5735a103e1ae14ed053 (patch) | |
tree | b710d1b2207005599d8f8e0ab98b4a1ba6915fa0 /engines | |
parent | 344d6bc2dad335527085767dfa0734478e658747 (diff) | |
download | scummvm-rg350-532194db1ffa4c7e2425c5735a103e1ae14ed053.tar.gz scummvm-rg350-532194db1ffa4c7e2425c5735a103e1ae14ed053.tar.bz2 scummvm-rg350-532194db1ffa4c7e2425c5735a103e1ae14ed053.zip |
TINSEL: Fix the colors in the Mac version of DW1
Diffstat (limited to 'engines')
-rw-r--r-- | engines/tinsel/palette.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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); |