aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/palette.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/scumm/palette.cpp')
-rw-r--r--engines/scumm/palette.cpp10
1 files changed, 10 insertions, 0 deletions
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)