aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorNebuleon Fumika2013-03-28 04:49:31 -0400
committerNebuleon Fumika2013-03-28 04:49:31 -0400
commit9920215d9449a5fbf0daed20787efbebc10d7e31 (patch)
treef8f66ed2ea262c4d6f48a4361bcf2966289162aa /source
parent57bcab6a250a138d42735504e871ff7011974532 (diff)
downloadsnesemu-9920215d9449a5fbf0daed20787efbebc10d7e31.tar.gz
snesemu-9920215d9449a5fbf0daed20787efbebc10d7e31.tar.bz2
snesemu-9920215d9449a5fbf0daed20787efbebc10d7e31.zip
Remove some button press/release recognition latency in the menu.
Diffstat (limited to 'source')
-rw-r--r--source/nds/gui.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/nds/gui.c b/source/nds/gui.c
index 2a7dd5f..b31acee 100644
--- a/source/nds/gui.c
+++ b/source/nds/gui.c
@@ -3909,6 +3909,9 @@ u32 menu(u16 *screen, bool8 FirstInvocation)
}
}
+ mdelay(20); // to prevent the DSTwo-DS link from being too clogged
+ // to return button statuses
+
struct key_buf inputdata;
gui_action = get_gui_input();