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
1 changed files with 1 additions and 1 deletions

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