aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorBertrand Augereau2011-07-25 22:08:06 +0200
committerBertrand Augereau2011-07-28 17:26:44 +0200
commitd1812fda52615f62d24b467e5a9c8784ab9e1dfd (patch)
tree17431af4b65e30b0fc942a472cfa1cab554d8548 /engines
parent53e5522e5a895ba8bdd7fc20b03d0c67bc840eeb (diff)
downloadscummvm-rg350-d1812fda52615f62d24b467e5a9c8784ab9e1dfd.tar.gz
scummvm-rg350-d1812fda52615f62d24b467e5a9c8784ab9e1dfd.tar.bz2
scummvm-rg350-d1812fda52615f62d24b467e5a9c8784ab9e1dfd.zip
DREAMWEB: Fix (underlined object names) in 'printchar' parameter interpretation
Diffstat (limited to 'engines')
-rw-r--r--engines/dreamweb/stubs.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/dreamweb/stubs.cpp b/engines/dreamweb/stubs.cpp
index ec94ffc40c..28c52e17d5 100644
--- a/engines/dreamweb/stubs.cpp
+++ b/engines/dreamweb/stubs.cpp
@@ -309,7 +309,8 @@ void DreamGenContext::printchar(uint16 dst, uint16 src, uint16* x, uint16 y, uin
push(di);
if (data.byte(kForeignrelease) != 0)
y -= 3;
- showframe(dst, src, *x, y, c - 32 + data.word(kCharshift), 0, width, height);
+ uint16 tmp = c - 32 + data.word(kCharshift);
+ showframe(dst, src, *x, y, tmp & 0xff, tmp >> 8, width, height);
di = pop();
si = pop();
_cmp(data.byte(kKerning), 0);