SuperFX 20mhz timing fix, fixes Starfox 2
This commit is contained in:
@@ -4196,6 +4196,7 @@ NEWSYM UpdateCLSR
|
|||||||
test byte[SfxCLSR],01h
|
test byte[SfxCLSR],01h
|
||||||
jz .nohighsfx
|
jz .nohighsfx
|
||||||
mov dword [NumberOfOpcodes2],700 ;700
|
mov dword [NumberOfOpcodes2],700 ;700
|
||||||
|
int 3h
|
||||||
.nohighsfx
|
.nohighsfx
|
||||||
cmp byte[SFXCounter],1
|
cmp byte[SFXCounter],1
|
||||||
je .noyi
|
je .noyi
|
||||||
@@ -4228,6 +4229,10 @@ NEWSYM StartSFX
|
|||||||
jz .noaccess
|
jz .noaccess
|
||||||
.noram
|
.noram
|
||||||
mov eax,[NumberOfOpcodes2]
|
mov eax,[NumberOfOpcodes2]
|
||||||
|
test byte[SfxCLSR],0
|
||||||
|
jnz .nofastsfx
|
||||||
|
add eax,500000
|
||||||
|
.nofastsfx
|
||||||
mov [NumberOfOpcodes],eax
|
mov [NumberOfOpcodes],eax
|
||||||
call MainLoop
|
call MainLoop
|
||||||
.noaccess
|
.noaccess
|
||||||
|
|||||||
Reference in New Issue
Block a user