aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/m4/mads_scene.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/m4/mads_scene.cpp b/engines/m4/mads_scene.cpp
index a464438981..60fffadc07 100644
--- a/engines/m4/mads_scene.cpp
+++ b/engines/m4/mads_scene.cpp
@@ -714,7 +714,7 @@ void MadsSceneResources::load(int sceneNumber, const char *resName, int v0, M4Su
for (int byteCtr = 0; byteCtr < runLength; ++byteCtr) {
byte v = byteVal;
for (int bitCtr = 0; bitCtr < 4; ++bitCtr, v >>= 2)
- *destP++ = v & 3;
+ *destP++ = (((v & 1) + 1) << 3) - 1;
}
} else {
// 8-bit depth pixels