From 635c87890530777a2e7b2f4c45a72f8f51c7d5f0 Mon Sep 17 00:00:00 2001 From: Nebuleon Fumika Date: Thu, 7 Feb 2013 17:58:37 -0500 Subject: Allow the user to be pressing a button when the emulator starts. This allows the Loading screen to disappear, and allows invoking New Game straight away. --- source/nds/gui.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/nds') diff --git a/source/nds/gui.c b/source/nds/gui.c index 190fcc9..4299db2 100644 --- a/source/nds/gui.c +++ b/source/nds/gui.c @@ -3535,9 +3535,10 @@ u32 menu(u16 *screen, bool8 FirstInvocation) { // assume that the backlight is already at 3 when the emulator starts mdelay(100); // to prevent ds2_setBacklight() from crashing ds2_setBacklight(3); + // also allow the user to press A for New Game right away + wait_Allkey_release(0); } - wait_Allkey_release(0); bg_screenp= (u16*)malloc(256*192*2); repeat = 1; -- cgit v1.2.3