diff options
author | Travis Howell | 2005-04-19 07:42:51 +0000 |
---|---|---|
committer | Travis Howell | 2005-04-19 07:42:51 +0000 |
commit | e5f66f38b8a06366cbc64d693e2f4dd74e00a8f5 (patch) | |
tree | a542f3b22912b151c4c8d2d062348de40aff3554 /scumm | |
parent | 9a758a9479767c97a0361959cae26fb82f7102df (diff) | |
download | scummvm-rg350-e5f66f38b8a06366cbc64d693e2f4dd74e00a8f5.tar.gz scummvm-rg350-e5f66f38b8a06366cbc64d693e2f4dd74e00a8f5.tar.bz2 scummvm-rg350-e5f66f38b8a06366cbc64d693e2f4dd74e00a8f5.zip |
Remove FIXME comment, the current code is correct.
The 6/6/6 style palettes are just SCUMM 5/6 specific.
svn-id: r17681
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/palette.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/scumm/palette.cpp b/scumm/palette.cpp index ab286465ff..ba5a52ba76 100644 --- a/scumm/palette.cpp +++ b/scumm/palette.cpp @@ -231,13 +231,7 @@ void ScummEngine::setPaletteFromPtr(const byte *ptr, int numcolor) { g = *ptr++; b = *ptr++; - // This comparison might look weird, but it's what the disassembly (DOTT) says! - // FIXME: Fingolfin still thinks it looks weird: the value 252 = 4*63 clearly comes from - // the days 6/6/6 palettes were used, OK. But it breaks MonkeyVGA, so I had to add a - // check for that. And somebody before me added a check for V7 games, turning this - // off there, too... I wonder if it hurts other games, too? What exactly is broken - // if we remove this patch? - // Since it also causes problems in Zak256, I am turning it off for all V4 games and older. + // Only SCUMM 5/6 games use 6/6/6 style palettes if (_version >= 5 && _version <= 6) { if ((_heversion <= 72 && i < 15) || i == 15 || r < 252 || g < 252 || b < 252) { *dest++ = r; |