New graphics engine leak fix (Thanks Trac!)

This commit is contained in:
zsknight
2001-04-05 22:47:52 +00:00
parent fd0ab47363
commit 1ef9fcbe9e
2 changed files with 6 additions and 2 deletions

View File

@@ -188,7 +188,9 @@ NEWSYM newengine8b
mov byte[bgallchange+eax],1
.nobgma
mov byte[modeused+eax],1
; new graphics fix, thanks to TRAC
and ebx,07h
mov byte[modeused+ebx],1
; Pointer to OBJ tile data
mov ebx,[bg1objptr]

View File

@@ -670,7 +670,9 @@ NEWSYM newengine16b
mov byte[bgallchange+eax],1
.nobgma
mov byte[modeused+eax],1
; new graphics fix, thanks to TRAC
and ebx,07h
mov byte[modeused+ebx],1
; Pointer to OBJ tile data
mov ebx,[bg1objptr]