diff options
author | Nebuleon Fumika | 2013-03-30 01:46:56 -0400 |
---|---|---|
committer | Nebuleon Fumika | 2013-03-30 01:46:56 -0400 |
commit | e1eaf42367ef8eb99642bf3a92a6742e89a407bc (patch) | |
tree | 395141032bb5655d1b592a92ba63638eb64a9d4e /source | |
parent | afe9a7ca264aabd304b9fbebe7a95502142bab00 (diff) | |
download | snes9x2005-e1eaf42367ef8eb99642bf3a92a6742e89a407bc.tar.gz snes9x2005-e1eaf42367ef8eb99642bf3a92a6742e89a407bc.tar.bz2 snes9x2005-e1eaf42367ef8eb99642bf3a92a6742e89a407bc.zip |
Wait for a button to be pressed and released after showing version information.
Diffstat (limited to 'source')
-rw-r--r-- | source/nds/gui.c | 4 |
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() |