aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBendegúz Nagy2016-08-04 12:57:36 +0200
committerBendegúz Nagy2016-08-26 23:02:22 +0200
commit483f05206f8286a69943ce0783fed53bbef7977a (patch)
tree00f35a9d37e85558f57d49ed1d5659fbb404e2da
parent2e2732df3990e88b697021239e7a531c9dad8a54 (diff)
downloadscummvm-rg350-483f05206f8286a69943ce0783fed53bbef7977a.tar.gz
scummvm-rg350-483f05206f8286a69943ce0783fed53bbef7977a.tar.bz2
scummvm-rg350-483f05206f8286a69943ce0783fed53bbef7977a.zip
DM: Fix drawing of some wall oranments
-rw-r--r--engines/dm/gfx.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/dm/gfx.cpp b/engines/dm/gfx.cpp
index 6d6163c79f..59f8f1c44b 100644
--- a/engines/dm/gfx.cpp
+++ b/engines/dm/gfx.cpp
@@ -2640,6 +2640,12 @@ void DisplayMan::f129_blitToBitmapShrinkWithPalChange(byte *srcBitmap, byte *des
uint32 scaleX = (SCALE_THRESHOLD * srcPixelWidth) / destPixelWidth;
uint32 scaleY = (SCALE_THRESHOLD * srcHeight) / destHeight;
+ warning(false, "MISSING CODE: No palette change takes place in f129_blitToBitmapShrinkWithPalChange");
+
+ // HACK
+ if (destPixelWidth % 2)
+ destPixelWidth++;
+
// Loop through drawing output lines
for (uint32 destY = 0, scaleYCtr = 0; destY < destHeight; ++destY, scaleYCtr += scaleY) {