aboutsummaryrefslogtreecommitdiff
path: root/engines/dreamweb/dreamgen.cpp
diff options
context:
space:
mode:
authoreriktorbjorn2011-06-20 20:09:26 +0200
committereriktorbjorn2011-06-20 20:09:26 +0200
commitf78d5bc553e1e372b9e21c867e70bd561a8eb1bb (patch)
treed8047ae96b06891f73cde4264fb768dee44aaa73 /engines/dreamweb/dreamgen.cpp
parent70799120914c5abb9fd0788493117e1c47769f0f (diff)
downloadscummvm-rg350-f78d5bc553e1e372b9e21c867e70bd561a8eb1bb.tar.gz
scummvm-rg350-f78d5bc553e1e372b9e21c867e70bd561a8eb1bb.tar.bz2
scummvm-rg350-f78d5bc553e1e372b9e21c867e70bd561a8eb1bb.zip
DREAMWEB: Remove readabyte() and readoneblock()
They were only used by the PCX decoder, which was rewritten some time ago to no longer use them.
Diffstat (limited to 'engines/dreamweb/dreamgen.cpp')
-rw-r--r--engines/dreamweb/dreamgen.cpp23
1 files changed, 0 insertions, 23 deletions
diff --git a/engines/dreamweb/dreamgen.cpp b/engines/dreamweb/dreamgen.cpp
index 2f58230260..9349436ca2 100644
--- a/engines/dreamweb/dreamgen.cpp
+++ b/engines/dreamweb/dreamgen.cpp
@@ -3877,27 +3877,6 @@ void DreamGenContext::allocatework() {
data.word(kWorkspace) = ax;
}
-void DreamGenContext::readabyte() {
- STACK_CHECK;
- _cmp(si, 30000);
- if (!flags.z())
- goto notendblock;
- push(bx);
- push(es);
- push(di);
- push(ds);
- push(si);
- readoneblock();
- si = pop();
- ds = pop();
- di = pop();
- es = pop();
- bx = pop();
- si = 0;
-notendblock:
- _lodsb();
-}
-
void DreamGenContext::loadpalfromiff() {
STACK_CHECK;
dx = 2481;
@@ -22131,8 +22110,6 @@ void DreamGenContext::__dispatch_call(uint16 addr) {
case 0xc1c4: dumpeverything(); break;
case 0xc1c8: allocatework(); break;
case 0xc1cc: showpcx(); break;
- case 0xc1d0: readabyte(); break;
- case 0xc1d4: readoneblock(); break;
case 0xc1d8: loadpalfromiff(); break;
case 0xc1dc: setmode(); break;
case 0xc1ec: paneltomap(); break;