From 56e54cd110e8f1065522c6d6ff5e9411fa9ebd69 Mon Sep 17 00:00:00 2001 From: Aurora Wright Date: Wed, 22 Nov 2017 19:03:39 +0100 Subject: [PATCH] Fix https://github.com/AuroraWright/Luma3DS/issues/921 --- source/config.c | 2 ++ source/fs.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/source/config.c b/source/config.c index d8b8c98..aac2d9e 100644 --- a/source/config.c +++ b/source/config.c @@ -288,6 +288,8 @@ void configMenu(bool oldPinStatus, u32 oldPinMode) } while(!(pressed & MENU_BUTTONS)); + pressed &= MENU_BUTTONS; + if(pressed == BUTTON_START) break; if(pressed != BUTTON_A) diff --git a/source/fs.c b/source/fs.c index 90c70ec..d762ea5 100644 --- a/source/fs.c +++ b/source/fs.c @@ -208,6 +208,8 @@ bool payloadMenu(char *path) } while(!(pressed & MENU_BUTTONS)); + pressed &= MENU_BUTTONS; + u32 oldSelectedPayload = selectedPayload; switch(pressed)