aboutsummaryrefslogtreecommitdiff
path: root/scummvm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scummvm.cpp')
-rw-r--r--scummvm.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/scummvm.cpp b/scummvm.cpp
index ae8341dcf4..341783f8da 100644
--- a/scummvm.cpp
+++ b/scummvm.cpp
@@ -1376,6 +1376,10 @@ void Scumm::updatePalette() {
int i;
byte *data = _currentPalette + first * 3;
+ // Sam & Max film noir mode
+ if (_gameId == GID_SAMNMAX && readVar(0x8000))
+ desaturatePalette();
+
byte palette_colors[1024],*p = palette_colors;
for (i = 0; i != num; i++, data += 3, p+=4) {