From 5bb799dd3e2e8e9d494d7f8543ef7ba3fff14c7a Mon Sep 17 00:00:00 2001 From: GaryOderNichts <12049776+GaryOderNichts@users.noreply.github.com> Date: Wed, 29 Dec 2021 01:15:21 +0100 Subject: [PATCH] Open menu if no autoboot option is selected --- source/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/main.cpp b/source/main.cpp index 6c46656..ee6b30a 100644 --- a/source/main.cpp +++ b/source/main.cpp @@ -365,7 +365,7 @@ int main(int argc, char **argv){ VPADStatus vpad{}; VPADRead(VPAD_CHAN_0, &vpad, 1, NULL); - if (vpad.hold & VPAD_BUTTON_PLUS) { + if ((bootSelection == -1) || (vpad.hold & VPAD_BUTTON_PLUS)) { bootSelection = handleMenuScreen(); }