Variable write size error [Thanks TRAC!]
This commit is contained in:
@@ -300,8 +300,9 @@ NEWSYM newengine8b
|
|||||||
jne .dontdraw
|
jne .dontdraw
|
||||||
mov dword[scfbl],0
|
mov dword[scfbl],0
|
||||||
.dontdraw
|
.dontdraw
|
||||||
mov [BGFB+eax],ebx
|
; Variable size write error fix [TRAC]
|
||||||
cmp [BGFB+eax-1],bx
|
mov [BGFB+eax],bl
|
||||||
|
cmp [BGFB+eax-1],bl
|
||||||
je .nosbgfb
|
je .nosbgfb
|
||||||
mov byte[bgallchange+eax],1
|
mov byte[bgallchange+eax],1
|
||||||
.nosbgfb
|
.nosbgfb
|
||||||
|
|||||||
@@ -782,8 +782,9 @@ NEWSYM newengine16b
|
|||||||
jne .dontdraw
|
jne .dontdraw
|
||||||
mov dword[scfbl],0
|
mov dword[scfbl],0
|
||||||
.dontdraw
|
.dontdraw
|
||||||
mov [BGFB+eax],ebx
|
; Variable size write error fix [TRAC]
|
||||||
cmp [BGFB+eax-1],bx
|
mov [BGFB+eax],bl
|
||||||
|
cmp [BGFB+eax-1],bl
|
||||||
je .nosbgfb
|
je .nosbgfb
|
||||||
mov byte[bgallchange+eax],1
|
mov byte[bgallchange+eax],1
|
||||||
.nosbgfb
|
.nosbgfb
|
||||||
|
|||||||
Reference in New Issue
Block a user