mirror of
https://github.com/d0k3/GodMode9.git
synced 2025-06-26 13:42:47 +00:00
Wait until all buttons released before showing the bootmenu
This commit is contained in:
parent
45d620bf72
commit
a9eaf45a8e
@ -1789,6 +1789,7 @@ u32 GodMode(int entrypoint) {
|
||||
// bootmenu handler
|
||||
if (bootmenu) {
|
||||
bootloader = false;
|
||||
while (HID_STATE); // wait until no buttons are pressed
|
||||
while (!bootloader && !godmode9) {
|
||||
const char* optionstr[6] = { "Resume bootloader", "Resume GodMode9", "Select payload...", "Select script...",
|
||||
"Poweroff system", "Reboot system" };
|
||||
|
Loading…
x
Reference in New Issue
Block a user