From 95b7104d477ede826b7258d7a8aa496cbb56e3e6 Mon Sep 17 00:00:00 2001 From: Nebuleon Fumika Date: Mon, 14 Jan 2013 04:14:47 -0500 Subject: Forgot to define inputdata for the button touch commit. --- source/nds/draw.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source') 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) -- cgit v1.2.3