diff options
author | Bendegúz Nagy | 2016-08-04 12:57:36 +0200 |
---|---|---|
committer | Bendegúz Nagy | 2016-08-26 23:02:22 +0200 |
commit | 483f05206f8286a69943ce0783fed53bbef7977a (patch) | |
tree | 00f35a9d37e85558f57d49ed1d5659fbb404e2da | |
parent | 2e2732df3990e88b697021239e7a531c9dad8a54 (diff) | |
download | scummvm-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.cpp | 6 |
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) { |