aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/gfx.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp
index 50b713f1e9..00e2074d79 100644
--- a/scumm/gfx.cpp
+++ b/scumm/gfx.cpp
@@ -3091,6 +3091,13 @@ void ScummEngine::darkenPalette(int redScale, int greenScale, int blueScale, int
cur = _currentPalette + startColor * 3;
for (j = startColor; j <= endColor; j++) {
+ // FIXME: Hack to fix Amiga palette adjustments
+ if ((_features & GF_AMIGA && _version == 5) && (j >= 16 && j < 81)) {
+ cptr += 3;
+ cur += 3;
+ continue;
+ }
+
color = *cptr++;
color = color * redScale / 0xFF;
if (color > 255)