aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Kagerer2010-10-15 23:28:09 +0000
committerFlorian Kagerer2010-10-15 23:28:09 +0000
commit63c30e959fb9dc6ff40fd8cb4d3d4a4969f5e019 (patch)
tree2f4d211e31f8a14104b4de6d27300bb084e9b3ac
parentffbca0786d8c37b22e8822f7297c3e0ee6f65207 (diff)
downloadscummvm-rg350-63c30e959fb9dc6ff40fd8cb4d3d4a4969f5e019.tar.gz
scummvm-rg350-63c30e959fb9dc6ff40fd8cb4d3d4a4969f5e019.tar.bz2
scummvm-rg350-63c30e959fb9dc6ff40fd8cb4d3d4a4969f5e019.zip
SCUMM/FM-TOWNS: fix regression in non Japanese SCUMM 3 games
svn-id: r53523
-rw-r--r--engines/scumm/charset.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/charset.cpp b/engines/scumm/charset.cpp
index 7c30085153..a62fabe2b6 100644
--- a/engines/scumm/charset.cpp
+++ b/engines/scumm/charset.cpp
@@ -826,7 +826,7 @@ void CharsetRendererV3::printChar(int chr, bool ignoreCharsetMask) {
drawBits1(*vs, dst, charPtr, drawTop, origWidth, origHeight, vs->bytesPerPixel);
} else {
dst = (byte *)_vm->_textSurface.getBasePtr(_left * _vm->_textSurfaceMultiplier, _top * _vm->_textSurfaceMultiplier);
- drawBits1(_vm->_textSurface, dst, charPtr, drawTop, origWidth, origHeight, _vm->_textSurface.bytesPerPixel, !is2byte);
+ drawBits1(_vm->_textSurface, dst, charPtr, drawTop, origWidth, origHeight, _vm->_textSurface.bytesPerPixel, (_vm->_textSurfaceMultiplier == 2 && !is2byte));
if (is2byte)
origWidth /= _vm->_textSurfaceMultiplier;
}