diff --git a/zsnes/src/gui/guikeys.inc b/zsnes/src/gui/guikeys.inc index 8a0bdcaa..5664b462 100644 --- a/zsnes/src/gui/guikeys.inc +++ b/zsnes/src/gui/guikeys.inc @@ -1467,6 +1467,9 @@ SECTION .text GUIPathKeys: cmp dh,0 je .nokeypressed + cmp dword[GUIInputBox],0 + je .nokeypressed + cmp dword[GUIInputBox],1 jne .notBox1 mov eax,SRAMPath @@ -1545,6 +1548,7 @@ GUIPathKeys: cmp dh,13 ;Enter jne .notenter + mov dword[GUIInputBox],0 ret .notenter