diff options
author | Bertrand Augereau | 2011-08-10 17:35:55 +0200 |
---|---|---|
committer | Bertrand Augereau | 2011-08-10 17:35:55 +0200 |
commit | a710b32c615d2d8bdf3c07f5e9674d37d40a009d (patch) | |
tree | df4b9af9f2539962f5d7ca757221edf3381f45cb | |
parent | 80f712b5b9d15e87f29aea8992fbd1896a7eddfd (diff) | |
download | scummvm-rg350-a710b32c615d2d8bdf3c07f5e9674d37d40a009d.tar.gz scummvm-rg350-a710b32c615d2d8bdf3c07f5e9674d37d40a009d.tar.bz2 scummvm-rg350-a710b32c615d2d8bdf3c07f5e9674d37d40a009d.zip |
DREAMWEB: Removed useless push/pops
-rw-r--r-- | engines/dreamweb/print.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/engines/dreamweb/print.cpp b/engines/dreamweb/print.cpp index e1f446a978..105f7e14f9 100644 --- a/engines/dreamweb/print.cpp +++ b/engines/dreamweb/print.cpp @@ -117,12 +117,8 @@ uint8 DreamGenContext::printslow(uint16 x, uint16 y, uint8 maxWidth, bool center uint8 c0 = es.byte(si); uint8 c1 = es.byte(si+1); uint8 c2 = es.byte(si+2); - push(es); - push(ds); c0 = engine->modifyChar(c0); printboth(src, &offset, y, c0, c1); - ds = pop(); - es = pop(); ++si; if ((c1 == 0) || (c1 == ':')) { es = pop(); @@ -130,15 +126,11 @@ uint8 DreamGenContext::printslow(uint16 x, uint16 y, uint8 maxWidth, bool center return 0; } if (charCount != 1) { - push(ds); - push(es); c1 = engine->modifyChar(c1); data.word(kCharshift) = 91; uint16 offset2 = offset; printboth(src, &offset2, y, c1, c2); data.word(kCharshift) = 0; - es = pop(); - ds = pop(); for (int i=0; i<2; ++i) { waitframes(); if (ax == 0) |