Fixed BG latches for modes 2 and 4 to be 13 bit (fixes Star Fox, UN Sqaurdron, and ToP).

This commit is contained in:
n-a-c-h
2005-11-08 17:52:29 +00:00
parent 6d03880a72
commit b3aa66fe32

View File

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