From c98b4e57d79777a9983286b294dc5587d4276389 Mon Sep 17 00:00:00 2001 From: n-a-c-h <> Date: Wed, 14 Jan 2004 00:26:08 +0000 Subject: [PATCH] Enter in paths exits box now. --- zsnes/src/gui/guikeys.inc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/zsnes/src/gui/guikeys.inc b/zsnes/src/gui/guikeys.inc index 4451d037..e2809601 100644 --- a/zsnes/src/gui/guikeys.inc +++ b/zsnes/src/gui/guikeys.inc @@ -1544,6 +1544,12 @@ GUIPathKeys: ret .notbackspace + cmp dh,13 ;Enter + jne .notenter + mov dword[GUIInputBox],0 + ret +.notenter + ;check if we're at the end add ecx,dword[GUIInputLimit] cmp eax,ecx