diff options
-rw-r--r-- | devtools/tasmrecover/dreamweb/object.asm | 4 | ||||
-rw-r--r-- | engines/dreamweb/dreamgen.cpp | 4 |
2 files changed, 1 insertions, 7 deletions
diff --git a/devtools/tasmrecover/dreamweb/object.asm b/devtools/tasmrecover/dreamweb/object.asm index bc73ef5679..830c9676f3 100644 --- a/devtools/tasmrecover/dreamweb/object.asm +++ b/devtools/tasmrecover/dreamweb/object.asm @@ -2586,10 +2586,8 @@ findlenextext: mov cl,[es:si] sub bx,extext push bx ax sub cx,bx - cmp cx, 0xffff; BIG FIXME! Find out why this is happening - jz $1 rep movsb -$1: pop bx + pop bx sub extextpos,bx pop si diff --git a/engines/dreamweb/dreamgen.cpp b/engines/dreamweb/dreamgen.cpp index 2afd1bc357..a183c7c798 100644 --- a/engines/dreamweb/dreamgen.cpp +++ b/engines/dreamweb/dreamgen.cpp @@ -8271,11 +8271,7 @@ findlenextext: push(bx); push(ax); _sub(cx, bx); - _cmp(cx, 0xffff); - if (flags.z()) - goto _tmp1; _movsb(cx, true); -_tmp1: bx = pop(); _sub(data.word(kExtextpos), bx); si = pop(); |