Open menu if no autoboot option is selected

This commit is contained in:
GaryOderNichts 2021-12-29 01:15:21 +01:00
parent addcf74802
commit 5bb799dd3e

View File

@ -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();
}