aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNebuleon Fumika2013-02-07 17:58:37 -0500
committerNebuleon Fumika2013-02-07 17:58:37 -0500
commit635c87890530777a2e7b2f4c45a72f8f51c7d5f0 (patch)
tree9f4df2fbb5ae09ef52e142c4e7a843afb6874665
parent07b9c9e8c1f4cdbb94ac9c1bd7c8272fab7d5f21 (diff)
downloadsnes9x2005-635c87890530777a2e7b2f4c45a72f8f51c7d5f0.tar.gz
snes9x2005-635c87890530777a2e7b2f4c45a72f8f51c7d5f0.tar.bz2
snes9x2005-635c87890530777a2e7b2f4c45a72f8f51c7d5f0.zip
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.
-rw-r--r--source/nds/gui.c3
1 files changed, 2 insertions, 1 deletions
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;