From 2e0e2b2687c10635c0b0237e85ac72a6b69fe795 Mon Sep 17 00:00:00 2001 From: Bertrand Augereau Date: Thu, 21 Jul 2011 09:01:33 +0200 Subject: DREAMWEB: Useless register shuffling in printboth --- engines/dreamweb/stubs.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'engines/dreamweb') 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) { -- cgit v1.2.3