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
xor eax,eax
.nokey
pushad
call JoyRead
popad
; call JoyRead
mov al,[CurKeyReadPos]
cmp al,[CurKeyPos]
je .nokey

View File

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