Fix windowing on mode 7 backgrounds

This commit is contained in:
pagefault
2005-03-30 05:29:35 +00:00
parent cd0315e373
commit dfca3fea62

View File

@@ -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