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