Fix windowing on mode 7 backgrounds
This commit is contained in:
@@ -2557,9 +2557,10 @@ NEWSYM drawsprng16b
|
|||||||
jz .nosubmain
|
jz .nosubmain
|
||||||
xor eax,eax
|
xor eax,eax
|
||||||
mov al,[BGMS1+ebx*2]
|
mov al,[BGMS1+ebx*2]
|
||||||
sub al,[FillSubScr+ebx]
|
add al,[FillSubScr+ebx]
|
||||||
|
add al,[bgmode]
|
||||||
test al,04h
|
test al,04h
|
||||||
jnz .nosub2
|
jz .nosub2
|
||||||
xor eax,eax
|
xor eax,eax
|
||||||
.nosub2
|
.nosub2
|
||||||
test byte[BGMS1+ebx*2],1h
|
test byte[BGMS1+ebx*2],1h
|
||||||
|
|||||||
Reference in New Issue
Block a user