Fixed Ghouls & Ghost mode 7 problem
This commit is contained in:
@@ -1076,7 +1076,7 @@ NEWSYM StartDrawNewGfx
|
||||
je near .noextbgsc
|
||||
test dword[bgcmsung],300h
|
||||
jz near .noextbgsc
|
||||
ProcMode7ngextbg 100h, 1h
|
||||
ProcMode7ngextbg 300h, 3h
|
||||
.noextbgsc
|
||||
|
||||
; draw sprites mode 2-7
|
||||
@@ -1257,9 +1257,9 @@ NEWSYM StartDrawNewGfx
|
||||
; draw mode 7 extbg pr 0
|
||||
cmp byte[ngextbg],0
|
||||
je near .noextbgmn
|
||||
test dword[bgcmsung],1h
|
||||
test dword[bgcmsung],3h
|
||||
jz near .noextbgmn
|
||||
ProcMode7ngextbg 1h, 0
|
||||
ProcMode7ngextbg 3h, 0
|
||||
.noextbgmn
|
||||
|
||||
; draw sprites mode 2-7
|
||||
|
||||
@@ -651,6 +651,7 @@ EXTSYM drawmode7ngextbg,drawmode7ngextbg2
|
||||
add ax,[BG1SYl+ebx*2]
|
||||
mov [curvidoffset],esi
|
||||
push esi
|
||||
jmp %%drawb
|
||||
cmp byte[esi-1],1
|
||||
je %%drawb
|
||||
call drawmode7ngextbg
|
||||
|
||||
@@ -1480,7 +1480,7 @@ NEWSYM StartDrawNewGfx16b
|
||||
je near .noextbgsc
|
||||
test dword[bgcmsung],300h
|
||||
jz near .noextbgsc
|
||||
ProcMode7ngextbg16b ngsub, 1h
|
||||
ProcMode7ngextbg16b ngsub, 3h
|
||||
.noextbgsc
|
||||
|
||||
; draw sprites mode 2-7
|
||||
@@ -1666,9 +1666,9 @@ NEWSYM StartDrawNewGfx16b
|
||||
; draw mode 7 extbg pr 0
|
||||
cmp byte[ngextbg],0
|
||||
je near .noextbgmn
|
||||
test dword[bgcmsung],101h
|
||||
test dword[bgcmsung],303h
|
||||
jz near .noextbgmn
|
||||
ProcMode7ngextbg16b ngmain ,1h
|
||||
ProcMode7ngextbg16b ngmain ,3h
|
||||
.noextbgmn
|
||||
|
||||
; draw sprites mode 2-7
|
||||
|
||||
@@ -1635,6 +1635,7 @@ EXTSYM osm2dis
|
||||
add ax,[BG1SYl+ebx*2]
|
||||
mov [curvidoffset],esi
|
||||
push esi
|
||||
jmp %%drawb
|
||||
cmp byte[esi-1],1
|
||||
je %%drawb
|
||||
call drawmode7ngextbg16b
|
||||
|
||||
Reference in New Issue
Block a user