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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user