mirror of
https://github.com/d0k3/GodMode9.git
synced 2025-06-26 21:52:48 +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
|
// bootmenu handler
|
||||||
if (bootmenu) {
|
if (bootmenu) {
|
||||||
bootloader = false;
|
bootloader = false;
|
||||||
|
while (HID_STATE); // wait until no buttons are pressed
|
||||||
while (!bootloader && !godmode9) {
|
while (!bootloader && !godmode9) {
|
||||||
const char* optionstr[6] = { "Resume bootloader", "Resume GodMode9", "Select payload...", "Select script...",
|
const char* optionstr[6] = { "Resume bootloader", "Resume GodMode9", "Select payload...", "Select script...",
|
||||||
"Poweroff system", "Reboot system" };
|
"Poweroff system", "Reboot system" };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user