We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a8236b commit da90499Copy full SHA for da90499
1 file changed
source/menu_boot.c
@@ -63,9 +63,8 @@ int menu_boot() {
63
u32 key = hidKeysHeld();
64
if (key & BIT(config->recovery) || config->timeout < 0) { // disable autoboot
65
timer = false;
66
- } else if (config->timeout == 0) { // autoboot
67
- int index = key_override(boot_index);
68
- return boot(index);
+ } else if (config->timeout == 0 || key_override(boot_index) != boot_index) { // autoboot
+ return boot(key_override(boot_index));
69
}
70
71
#ifndef ARM9
0 commit comments