mirror of
https://github.com/s1204IT/Lockpick_RCM.git
synced 2024-11-09 20:11:49 +00:00
Ensure SD mounted before reboot to hekate
This commit is contained in:
parent
4e5c9f1e85
commit
69f8c8f339
2 changed files with 2 additions and 1 deletions
|
@ -896,7 +896,7 @@ void dump_keys() {
|
||||||
h_cfg.emummc_force_disable = emu_cfg.sector == 0 && !emu_cfg.path;
|
h_cfg.emummc_force_disable = emu_cfg.sector == 0 && !emu_cfg.path;
|
||||||
emu_cfg.enabled = !h_cfg.emummc_force_disable;
|
emu_cfg.enabled = !h_cfg.emummc_force_disable;
|
||||||
if (emmc_storage.initialized) {
|
if (emmc_storage.initialized) {
|
||||||
emummc_storage_end();
|
sdmmc_storage_end(&emmc_storage);
|
||||||
}
|
}
|
||||||
|
|
||||||
minerva_change_freq(FREQ_800);
|
minerva_change_freq(FREQ_800);
|
||||||
|
|
|
@ -284,6 +284,7 @@ out:
|
||||||
|
|
||||||
void launch_hekate()
|
void launch_hekate()
|
||||||
{
|
{
|
||||||
|
sd_mount();
|
||||||
if (!f_stat("bootloader/update.bin", NULL))
|
if (!f_stat("bootloader/update.bin", NULL))
|
||||||
launch_payload("bootloader/update.bin", false);
|
launch_payload("bootloader/update.bin", false);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue