aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorNebuleon Fumika2013-01-14 04:14:47 -0500
committerNebuleon Fumika2013-01-14 04:14:47 -0500
commit95b7104d477ede826b7258d7a8aa496cbb56e3e6 (patch)
tree73be7cc3b80edd6d1363be9065f233a75c3c3b2a /source
parentc7cc65547335fb9ecc10ff011c786387d399396b (diff)
downloadsnes9x2005-95b7104d477ede826b7258d7a8aa496cbb56e3e6.tar.gz
snes9x2005-95b7104d477ede826b7258d7a8aa496cbb56e3e6.tar.bz2
snes9x2005-95b7104d477ede826b7258d7a8aa496cbb56e3e6.zip
Forgot to define inputdata for the button touch commit.
Diffstat (limited to 'source')
-rw-r--r--source/nds/draw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/nds/draw.c b/source/nds/draw.c
index 9518563..612cdcb 100644
--- a/source/nds/draw.c
+++ b/source/nds/draw.c
@@ -813,6 +813,7 @@ u32 draw_yesno_dialog(enum SCREEN_ID screen, u32 sy, char *yes, char *no)
gui_action = get_gui_input();
if (gui_action == CURSOR_TOUCH)
{
+ struct key_buf inputdata;
ds2_getrawInput(&inputdata);
// Turn it into a SELECT (A) or BACK (B) if the button is touched.
if (inputdata.y >= 128 && inputdata.y < 128 + ICON_BUTTON.y)