forked from Mirror/GodMode9
Fix entering the boot menu in bootloader
This commit is contained in:
parent
891c0c2a36
commit
e7948d9a2f
@ -2176,7 +2176,7 @@ u32 GodMode(int entrypoint) {
|
||||
// bootmenu handler
|
||||
if (bootmenu) {
|
||||
bootloader = false;
|
||||
while (HID_ReadState()); // wait until no buttons are pressed
|
||||
while (HID_ReadState() & BUTTON_ANY); // wait until no buttons are pressed
|
||||
while (!bootloader && !godmode9) {
|
||||
const char* optionstr[6] = { "Resume GodMode9", "Resume bootloader", "Select payload...", "Select script...",
|
||||
"Poweroff system", "Reboot system" };
|
||||
|
Loading…
x
Reference in New Issue
Block a user