Fix overflow bug

This commit is contained in:
pagefault
2005-03-29 01:08:31 +00:00
parent 64c739a9d1
commit 3eb1416db8

View File

@@ -157,7 +157,7 @@ NEWSYM SA1Swap
mov dword[snesmap2],eax
mov edi,[prevedi]
xor eax,eax
add dh,51
add dh,34
inc byte[CurrentExecSA1]
mov byte[SA1Status],0
add dword[SA1TimerVal],23
@@ -191,7 +191,7 @@ NEWSYM SA1Swap
mov byte[SA1Status],0
add dword[SA1TimerVal],23
; xor dh,dh
add dh,63
add dh,35
cmp esi,dword[SA1LBound]
jb .stoph
cmp esi,dword[SA1UBound]