From d635bd68ada95e5acf2313aa7e41e5e532e6234d Mon Sep 17 00:00:00 2001 From: ipher <> Date: Sun, 24 Oct 2004 21:32:20 +0000 Subject: [PATCH] SuperFX2 Updates (pagefault) --- zsnes/src/cpu/execute.asm | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/zsnes/src/cpu/execute.asm b/zsnes/src/cpu/execute.asm index ab3dcf55..154f5f6a 100644 --- a/zsnes/src/cpu/execute.asm +++ b/zsnes/src/cpu/execute.asm @@ -4208,6 +4208,8 @@ NEWSYM UpdateSFX call UpdateCLSR ret +EXTSYM SfxAC + NEWSYM StartSFX push edx push esi @@ -4226,11 +4228,14 @@ NEWSYM StartSFX test al,08h jz .noaccess .noram - mov eax,[NumberOfOpcodes2] - test byte[SfxCLSR],0 + mov byte[SfxAC],0 + test byte[SfxCLSR],01h jnz .nofastsfx - add eax,200000 + mov byte[SfxAC],1 + mov byte[cycpbl],20 + mov byte[cycpl],126 .nofastsfx + mov eax,[NumberOfOpcodes2] mov [NumberOfOpcodes],eax call MainLoop .noaccess