diff options
Diffstat (limited to 'scumm/palette.cpp')
-rw-r--r-- | scumm/palette.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scumm/palette.cpp b/scumm/palette.cpp index 3085c98f12..0dda37dd15 100644 --- a/scumm/palette.cpp +++ b/scumm/palette.cpp @@ -686,6 +686,7 @@ void ScummEngine::darkenPalette(int redScale, int greenScale, int blueScale, int } } +#ifndef DISABLE_SCUMM_7_8 static int HSL2RGBHelper(int n1, int n2, int hue) { if (hue > 360) hue = hue - 360; @@ -778,6 +779,7 @@ void ScummEngine_v8::desaturatePalette(int hueScale, int satScale, int lightScal setDirtyColors(startColor, endColor); } } +#endif int ScummEngine::remapPaletteColor(int r, int g, int b, int threshold) { |