Ok, slight SA-1 fix to prevent SMRPG from freezing. Now rejoice. [pagefault]

This commit is contained in:
grinvader
2006-02-26 17:35:20 +00:00
parent c7b5e876d0
commit 369baf83c6

View File

@@ -120,7 +120,7 @@ NEWSYM SA1Swap
; Check if IRQ is executed on SA-1 ; Check if IRQ is executed on SA-1
xor eax,eax xor eax,eax
mov al,dl mov al,dl
add dh,25 add dh,20
mov edi,[SA1tablead+eax*4] mov edi,[SA1tablead+eax*4]
mov byte[SA1Status],1 mov byte[SA1Status],1
test dword[SA1DoIRQ],0FF000003h test dword[SA1DoIRQ],0FF000003h
@@ -129,8 +129,8 @@ NEWSYM SA1Swap
; SA1Debug ; SA1Debug
cmp byte[SA1SH],1 ; cmp byte[SA1SH],1
je near .speedhack ; je near .speedhack
; non debug version ; non debug version
mov bl,[esi] mov bl,[esi]