From 312346bdb4a229213d9aeb4578e936cf27890bd5 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Wed, 2 Jan 2008 12:58:18 +0000 Subject: Fix for bug #1206994: "FOA AMIGA: Black cursor and text in Dig Site" svn-id: r30147 --- engines/scumm/palette.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'engines/scumm/palette.cpp') diff --git a/engines/scumm/palette.cpp b/engines/scumm/palette.cpp index 39bac051e8..160a977940 100644 --- a/engines/scumm/palette.cpp +++ b/engines/scumm/palette.cpp @@ -682,6 +682,16 @@ void ScummEngine::darkenPalette(int redScale, int greenScale, int blueScale, int if (_game.heversion == 70) setDirtyColors(idx, idx); + + // Original FOA Amiga version skips these colors + // Fixes bug #1206994: "FOA AMIGA: Black cursor and text in Dig Site" + if (_game.platform == Common::kPlatformAmiga) { + if (j < 16) { + cptr += 3; + continue; + } + } + color = *cptr++; color = color * redScale / 0xFF; if (color > max) -- cgit v1.2.3