Reboot to Hekate menu once without changing hekate_ipl.ini
Mariko: RTC REBOOT_REASON_MENU + PMIC reboot. Erista: patch in-memory boot_cfg on valid Hekate payload and try common SD paths.
This commit is contained in:
@@ -105,10 +105,8 @@ void HandleSD(){
|
||||
|
||||
|
||||
extern bool is_sd_inited;
|
||||
extern int launch_payload(char *path);
|
||||
|
||||
void RebootToHekate(){
|
||||
launch_payload("sd:/bootloader/update.bin");
|
||||
reboot_to_hekate_menu();
|
||||
}
|
||||
|
||||
void MountOrUnmountSD(){
|
||||
@@ -153,7 +151,7 @@ void EnterMainMenu(){
|
||||
sd_unmount();
|
||||
|
||||
// // -- Exit --
|
||||
mainMenuEntries[MainRebootHekate].hide = (!sd_get_card_mounted() || !FileExists("sd:/bootloader/update.bin"));
|
||||
mainMenuEntries[MainRebootHekate].hide = !h_cfg.t210b01 && (!sd_get_card_mounted() || !hekate_reboot_available());
|
||||
mainMenuEntries[MainRebootRCM].hide = h_cfg.t210b01;
|
||||
mainMenuEntries[FixMarikoWarmbootSleep].hide = !h_cfg.t210b01;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user