aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/nds/gui.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/nds/gui.c b/source/nds/gui.c
index 727f7ad..ecab0e0 100644
--- a/source/nds/gui.c
+++ b/source/nds/gui.c
@@ -2642,7 +2642,9 @@ u32 menu(u16 *screen, bool8 FirstInvocation)
draw_string_vcenter(down_screen_addr, MESSAGE_BOX_TEXT_X, MESSAGE_BOX_TEXT_Y, MESSAGE_BOX_TEXT_SX, COLOR_MSSG, line_buffer);
ds2_flipScreen(DOWN_SCREEN, DOWN_SCREEN_UPDATE_METHOD);
- wait_Anykey_press(0);
+ wait_Allkey_release(0); // invoked from the menu
+ wait_Anykey_press(0); // wait until the user presses something
+ wait_Allkey_release(0); // don't give that button to the menu
}
void language_set()