Fix issue reported in
https://github.com/AuroraWright/Luma3DS/commit/f27cdb4543fe63b6b05d8f1950967999c3bdaa44\#commitcomment-24611141, simplify https://github.com/AuroraWright/Luma3DS/commit/56e54cd110e8f1065522c6d6ff5e9411fa9ebd69
This commit is contained in:
+2
-4
@@ -284,11 +284,9 @@ void configMenu(bool oldPinStatus, u32 oldPinMode)
|
||||
u32 pressed;
|
||||
do
|
||||
{
|
||||
pressed = waitInput(true);
|
||||
pressed = waitInput(true) & MENU_BUTTONS;
|
||||
}
|
||||
while(!(pressed & MENU_BUTTONS));
|
||||
|
||||
pressed &= MENU_BUTTONS;
|
||||
while(!pressed);
|
||||
|
||||
if(pressed == BUTTON_START) break;
|
||||
|
||||
|
||||
+2
-4
@@ -204,11 +204,9 @@ bool payloadMenu(char *path)
|
||||
{
|
||||
do
|
||||
{
|
||||
pressed = waitInput(true);
|
||||
pressed = waitInput(true) & MENU_BUTTONS;
|
||||
}
|
||||
while(!(pressed & MENU_BUTTONS));
|
||||
|
||||
pressed &= MENU_BUTTONS;
|
||||
while(!pressed);
|
||||
|
||||
u32 oldSelectedPayload = selectedPayload;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user