DREAMWEB: Removed workaround of invalid size of extext data

This commit is contained in:
Vladimir Menshakov 2011-06-25 21:52:46 +04:00
parent 7745850808
commit 4cbf30a88c
2 changed files with 1 additions and 7 deletions

View File

@ -2586,10 +2586,8 @@ findlenextext: mov cl,[es:si]
sub bx,extext sub bx,extext
push bx ax push bx ax
sub cx,bx sub cx,bx
cmp cx, 0xffff; BIG FIXME! Find out why this is happening
jz $1
rep movsb rep movsb
$1: pop bx pop bx
sub extextpos,bx sub extextpos,bx
pop si pop si

View File

@ -8271,11 +8271,7 @@ findlenextext:
push(bx); push(bx);
push(ax); push(ax);
_sub(cx, bx); _sub(cx, bx);
_cmp(cx, 0xffff);
if (flags.z())
goto _tmp1;
_movsb(cx, true); _movsb(cx, true);
_tmp1:
bx = pop(); bx = pop();
_sub(data.word(kExtextpos), bx); _sub(data.word(kExtextpos), bx);
si = pop(); si = pop();