Fixed BG latches for modes 2 and 4 to be 13 bit (fixes Star Fox, UN Sqaurdron, and ToP).
This commit is contained in:
@@ -3140,7 +3140,7 @@ EXTSYM drawmode7ngextbg216b,osm2dis
|
|||||||
shl edx,1
|
shl edx,1
|
||||||
add ax,dx
|
add ax,dx
|
||||||
mov dx,[bg3scrolx]
|
mov dx,[bg3scrolx]
|
||||||
test dx,8000h
|
test dx,1000h
|
||||||
jz .nooma16x16
|
jz .nooma16x16
|
||||||
and dx,0F000h
|
and dx,0F000h
|
||||||
shr dx,5
|
shr dx,5
|
||||||
@@ -3312,7 +3312,7 @@ EXTSYM drawmode7ngextbg216b,osm2dis
|
|||||||
shl edx,1
|
shl edx,1
|
||||||
add ax,dx
|
add ax,dx
|
||||||
mov dx,[bg3scrolx]
|
mov dx,[bg3scrolx]
|
||||||
test dx,8000h
|
test dx,1000h
|
||||||
jz .nooma
|
jz .nooma
|
||||||
and dx,0F000h
|
and dx,0F000h
|
||||||
shr dx,5
|
shr dx,5
|
||||||
@@ -3717,7 +3717,7 @@ EXTSYM drawmode7ngextbg216b,osm2dis
|
|||||||
shl edx,1
|
shl edx,1
|
||||||
add ax,dx
|
add ax,dx
|
||||||
mov dx,[bg3scrolx]
|
mov dx,[bg3scrolx]
|
||||||
test dx,8000h
|
test dx,1000h
|
||||||
jz .nooma
|
jz .nooma
|
||||||
and dx,0F000h
|
and dx,0F000h
|
||||||
shr dx,5
|
shr dx,5
|
||||||
|
|||||||
Reference in New Issue
Block a user