Finally fixed the most annoying bug ever. ZSNES will no longer jump back into the GUI randomly if you press F2 / F4 or some other buttons repeatedly. Now you will never bother me again you piece of shit. Special thanks to Dan for the clues on how to recreate it.

This commit is contained in:
jbo_85
2006-05-06 22:41:04 +00:00
parent 91fa0d5fb4
commit 800eb94424
2 changed files with 2 additions and 4 deletions

View File

@@ -440,9 +440,7 @@ NEWSYM Get_Key
; for extended keys, return a 0, then the extended key afterwards ; for extended keys, return a 0, then the extended key afterwards
xor eax,eax xor eax,eax
.nokey .nokey
pushad ; call JoyRead
call JoyRead
popad
mov al,[CurKeyReadPos] mov al,[CurKeyReadPos]
cmp al,[CurKeyPos] cmp al,[CurKeyPos]
je .nokey je .nokey

View File

@@ -516,7 +516,7 @@ NEWSYM Get_Key
; for extended keys, return a 0, then the extended key afterwards ; for extended keys, return a 0, then the extended key afterwards
xor eax,eax xor eax,eax
.nokey .nokey
call JoyRead ; call JoyRead
mov al,[CurKeyReadPos] mov al,[CurKeyReadPos]
cmp al,[CurKeyPos] cmp al,[CurKeyPos]
je .nokey je .nokey