From d3291cb16249d19acc52ecc9864ed54979d0f8e1 Mon Sep 17 00:00:00 2001 From: pagefault <> Date: Mon, 18 Oct 2004 20:13:20 +0000 Subject: [PATCH] SuperFX 20mhz timing fix, fixes Starfox 2 --- zsnes/src/cpu/execute.asm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/zsnes/src/cpu/execute.asm b/zsnes/src/cpu/execute.asm index c2783ca8..0e18b771 100644 --- a/zsnes/src/cpu/execute.asm +++ b/zsnes/src/cpu/execute.asm @@ -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