Really fixed path input this time.

This commit is contained in:
n-a-c-h
2004-05-07 10:57:28 +00:00
parent 4079f6faea
commit c5590396a6

View File

@@ -1467,6 +1467,9 @@ SECTION .text
GUIPathKeys: GUIPathKeys:
cmp dh,0 cmp dh,0
je .nokeypressed je .nokeypressed
cmp dword[GUIInputBox],0
je .nokeypressed
cmp dword[GUIInputBox],1 cmp dword[GUIInputBox],1
jne .notBox1 jne .notBox1
mov eax,SRAMPath mov eax,SRAMPath
@@ -1545,6 +1548,7 @@ GUIPathKeys:
cmp dh,13 ;Enter cmp dh,13 ;Enter
jne .notenter jne .notenter
mov dword[GUIInputBox],0
ret ret
.notenter .notenter