aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdevtools/tasmrecover/tasm-recover4
-rw-r--r--engines/dreamweb/dreamgen.cpp23
-rw-r--r--engines/dreamweb/stubs.cpp7
3 files changed, 3 insertions, 31 deletions
diff --git a/devtools/tasmrecover/tasm-recover b/devtools/tasmrecover/tasm-recover
index 27aeb326c0..96fd6c45fa 100755
--- a/devtools/tasmrecover/tasm-recover
+++ b/devtools/tasmrecover/tasm-recover
@@ -20,6 +20,8 @@ generator = cpp(context, "DreamGen", blacklist = [
'printundermon',
'worktoscreen',
'width160',
- 'convertkey'
+ 'convertkey',
+ 'readabyte',
+ 'readoneblock'
])
generator.generate('dreamweb') #start routine
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;
diff --git a/engines/dreamweb/stubs.cpp b/engines/dreamweb/stubs.cpp
index be870aa52f..58f2441791 100644
--- a/engines/dreamweb/stubs.cpp
+++ b/engines/dreamweb/stubs.cpp
@@ -433,13 +433,6 @@ void DreamGenContext::setmode() {
initGraphics(320, 200, false);
}
-void DreamGenContext::readoneblock() {
- ds = data.word(kWorkspace);
- cx = 30000;
- dx = 0;
- readfromfile();
-}
-
void DreamGenContext::showpcx() {
Common::String name = getFilename(*this);
Common::File pcxFile;