SuperFX2 Updates (pagefault)

This commit is contained in:
ipher
2004-10-24 21:32:20 +00:00
parent ea55920ab4
commit d635bd68ad

View File

@@ -4208,6 +4208,8 @@ NEWSYM UpdateSFX
call UpdateCLSR call UpdateCLSR
ret ret
EXTSYM SfxAC
NEWSYM StartSFX NEWSYM StartSFX
push edx push edx
push esi push esi
@@ -4226,11 +4228,14 @@ NEWSYM StartSFX
test al,08h test al,08h
jz .noaccess jz .noaccess
.noram .noram
mov eax,[NumberOfOpcodes2] mov byte[SfxAC],0
test byte[SfxCLSR],0 test byte[SfxCLSR],01h
jnz .nofastsfx jnz .nofastsfx
add eax,200000 mov byte[SfxAC],1
mov byte[cycpbl],20
mov byte[cycpl],126
.nofastsfx .nofastsfx
mov eax,[NumberOfOpcodes2]
mov [NumberOfOpcodes],eax mov [NumberOfOpcodes],eax
call MainLoop call MainLoop
.noaccess .noaccess