diff options
author | Bertrand Augereau | 2011-07-21 09:01:33 +0200 |
---|---|---|
committer | Bertrand Augereau | 2011-07-23 18:23:40 +0200 |
commit | 2e0e2b2687c10635c0b0237e85ac72a6b69fe795 (patch) | |
tree | b8e320100f780112bc1f67a16a7847b3485342cb /engines/dreamweb | |
parent | 6d926d830e832f61c63a51665089b83ec7bd6277 (diff) | |
download | scummvm-rg350-2e0e2b2687c10635c0b0237e85ac72a6b69fe795.tar.gz scummvm-rg350-2e0e2b2687c10635c0b0237e85ac72a6b69fe795.tar.bz2 scummvm-rg350-2e0e2b2687c10635c0b0237e85ac72a6b69fe795.zip |
DREAMWEB: Useless register shuffling in printboth
Diffstat (limited to 'engines/dreamweb')
-rw-r--r-- | engines/dreamweb/stubs.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/engines/dreamweb/stubs.cpp b/engines/dreamweb/stubs.cpp index 77f25903d1..99f10c8ed1 100644 --- a/engines/dreamweb/stubs.cpp +++ b/engines/dreamweb/stubs.cpp @@ -249,19 +249,11 @@ void DreamGenContext::printboth() { } void DreamGenContext::printboth(uint16 dst, uint16 src, uint16 *x, uint16 y, uint8 c) { - push(ax); - push(cx); - push(bx); uint16 newX = *x; uint8 width, height; printchar(dst, src, &newX, y, c, &width, &height); multidump(*x, y, width, height); - si = *x + (y + height) * kScreenwidth; - di = newX; *x = newX; - bx = pop(); - cx = pop(); - ax = pop(); } uint8 DreamGenContext::getnextword(const uint8 *string, uint8 *totalWidth, uint8 *charCount) { |