Scriptrunner: Only stop at splash with R+UP

This commit is contained in:
d0k3 2018-04-26 12:16:10 +02:00
parent 4d7f047caf
commit 3bfe2fca02

View File

@ -1987,7 +1987,7 @@ u32 GodMode(int entrypoint) {
#else // standard behaviour #else // standard behaviour
bootmenu = bootmenu || (bootloader && CheckButton(BOOTMENU_KEY)); // second check for boot menu keys bootmenu = bootmenu || (bootloader && CheckButton(BOOTMENU_KEY)); // second check for boot menu keys
#endif #endif
while (CheckButton(BOOTPAUSE_KEY)); // don't continue while these keys is held while (CheckButton(BOOTPAUSE_KEY)); // don't continue while these keys are held
if (show_splash) while (timer_msec( timer ) < 500); // show splash for at least 0.5 sec if (show_splash) while (timer_msec( timer ) < 500); // show splash for at least 0.5 sec
// bootmenu handler // bootmenu handler
@ -2481,7 +2481,7 @@ u32 ScriptRunner(int entrypoint) {
InitNandCrypto(entrypoint != ENTRY_B9S); InitNandCrypto(entrypoint != ENTRY_B9S);
InitExtFS(); InitExtFS();
while (HID_STATE); // wait until no buttons are pressed while (CheckButton(BOOTPAUSE_KEY)); // don't continue while these keys are held
while (timer_msec( timer ) < 500); // show splash for at least 0.5 sec while (timer_msec( timer ) < 500); // show splash for at least 0.5 sec
if (PathExist("V:/" VRAM0_AUTORUN_GM9)) { if (PathExist("V:/" VRAM0_AUTORUN_GM9)) {