aboutsummaryrefslogtreecommitdiff
path: root/source/nds/draw.c
diff options
context:
space:
mode:
authorNebuleon Fumika2013-02-14 16:24:42 -0500
committerNebuleon Fumika2013-02-14 16:24:42 -0500
commit52b11e6c1cc54962c195cf97e4e6b71b635a9784 (patch)
treec2caf7bba61f6cb14a3af42c32f6cdf4fa82479e /source/nds/draw.c
parent11c08d9d8f28d1abd2d36d658a8e10515ac05228 (diff)
downloadsnes9x2005-52b11e6c1cc54962c195cf97e4e6b71b635a9784.tar.gz
snes9x2005-52b11e6c1cc54962c195cf97e4e6b71b635a9784.tar.bz2
snes9x2005-52b11e6c1cc54962c195cf97e4e6b71b635a9784.zip
Adjust hotkeys to allow using the directional pad for them. Suggested usage is L+Up, R+Up, etc.
Diffstat (limited to 'source/nds/draw.c')
-rw-r--r--source/nds/draw.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source/nds/draw.c b/source/nds/draw.c
index 3eab510..19720e5 100644
--- a/source/nds/draw.c
+++ b/source/nds/draw.c
@@ -898,12 +898,11 @@ u32 draw_hotkey_dialog(enum SCREEN_ID screen, u32 sy, char *clear, char *cancel)
// Now, while there are keys pressed, keep a tally of keys that have
// been pressed. (IGNORE TOUCH AND LID! Otherwise, closing the lid or
- // touching to get to the menu will do stuff the user doesn't expect.
- // Also ignore the direction pad because every game uses it.)
+ // touching to get to the menu will do stuff the user doesn't expect.)
u32 TotalKeys = 0;
do {
- TotalKeys |= inputdata.key & ~(KEY_TOUCH | KEY_LID | KEY_UP | KEY_DOWN | KEY_LEFT | KEY_RIGHT);
+ TotalKeys |= inputdata.key & ~(KEY_TOUCH | KEY_LID);
// If there's a touch on either button, turn it into a
// clear (A) or cancel (B) request.
if (inputdata.key & KEY_TOUCH)