1
0
Fork 0
mirror of https://github.com/s1204IT/Lockpick_RCM.git synced 2024-11-09 12:01:44 +00:00

Ensure SD mounted before reboot to hekate

This commit is contained in:
shchmue 2021-09-16 09:20:59 -06:00
parent 4e5c9f1e85
commit 69f8c8f339
2 changed files with 2 additions and 1 deletions

View file

@ -896,7 +896,7 @@ void dump_keys() {
h_cfg.emummc_force_disable = emu_cfg.sector == 0 && !emu_cfg.path;
emu_cfg.enabled = !h_cfg.emummc_force_disable;
if (emmc_storage.initialized) {
emummc_storage_end();
sdmmc_storage_end(&emmc_storage);
}
minerva_change_freq(FREQ_800);

View file

@ -284,6 +284,7 @@ out:
void launch_hekate()
{
sd_mount();
if (!f_stat("bootloader/update.bin", NULL))
launch_payload("bootloader/update.bin", false);
}