SuperFX 20mhz timing fix, fixes Starfox 2

This commit is contained in:
pagefault
2004-10-18 20:13:20 +00:00
parent 864c1bb94f
commit d3291cb162

View File

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