diff options
author | Nebuleon Fumika | 2013-01-14 04:14:47 -0500 |
---|---|---|
committer | Nebuleon Fumika | 2013-01-14 04:14:47 -0500 |
commit | 95b7104d477ede826b7258d7a8aa496cbb56e3e6 (patch) | |
tree | 73be7cc3b80edd6d1363be9065f233a75c3c3b2a | |
parent | c7cc65547335fb9ecc10ff011c786387d399396b (diff) | |
download | snesemu-95b7104d477ede826b7258d7a8aa496cbb56e3e6.tar.gz snesemu-95b7104d477ede826b7258d7a8aa496cbb56e3e6.tar.bz2 snesemu-95b7104d477ede826b7258d7a8aa496cbb56e3e6.zip |
Forgot to define inputdata for the button touch commit.
-rw-r--r-- | source/nds/draw.c | 1 |
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) |