Variable write size error [Thanks TRAC!]

This commit is contained in:
zsknight
2001-04-15 07:58:09 +00:00
parent 35cdb86e55
commit 015fdf1070
2 changed files with 6 additions and 4 deletions

View File

@@ -300,8 +300,9 @@ NEWSYM newengine8b
jne .dontdraw
mov dword[scfbl],0
.dontdraw
mov [BGFB+eax],ebx
cmp [BGFB+eax-1],bx
; Variable size write error fix [TRAC]
mov [BGFB+eax],bl
cmp [BGFB+eax-1],bl
je .nosbgfb
mov byte[bgallchange+eax],1
.nosbgfb

View File

@@ -782,8 +782,9 @@ NEWSYM newengine16b
jne .dontdraw
mov dword[scfbl],0
.dontdraw
mov [BGFB+eax],ebx
cmp [BGFB+eax-1],bx
; Variable size write error fix [TRAC]
mov [BGFB+eax],bl
cmp [BGFB+eax-1],bl
je .nosbgfb
mov byte[bgallchange+eax],1
.nosbgfb