aboutsummaryrefslogtreecommitdiff
path: root/devtools
diff options
context:
space:
mode:
authorVladimir Menshakov2011-06-19 16:56:19 +0400
committerVladimir Menshakov2011-06-19 16:57:10 +0400
commit613a203c8a8ac6175988938fbbceaa47ee8b2877 (patch)
treef5ec2e0e11314f6693c5bbdc6c41bfecfc82bf7e /devtools
parent5efe835f203a94d06f3ff64a9df39c9fdaae8a3b (diff)
downloadscummvm-rg350-613a203c8a8ac6175988938fbbceaa47ee8b2877.tar.gz
scummvm-rg350-613a203c8a8ac6175988938fbbceaa47ee8b2877.tar.bz2
scummvm-rg350-613a203c8a8ac6175988938fbbceaa47ee8b2877.zip
DREAMWEB: Added crash workaround
Diffstat (limited to 'devtools')
-rw-r--r--devtools/tasmrecover/dreamweb/object.asm4
1 files changed, 3 insertions, 1 deletions
diff --git a/devtools/tasmrecover/dreamweb/object.asm b/devtools/tasmrecover/dreamweb/object.asm
index 93710d3c23..d0465e09bc 100644
--- a/devtools/tasmrecover/dreamweb/object.asm
+++ b/devtools/tasmrecover/dreamweb/object.asm
@@ -2583,8 +2583,10 @@ 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
- pop bx
+$1: pop bx
sub extextpos,bx
pop si