Equalize hekate main and Nyx sd based functions

This commit is contained in:
CTCaer
2020-06-13 18:32:40 +03:00
parent 7dd3178d48
commit 21548545fc
29 changed files with 167 additions and 103 deletions

View File

@@ -180,7 +180,7 @@ lv_res_t launch_payload(lv_obj_t *list)
f_close(&fp);
sd_unmount(true);
sd_end();
if (size < 0x30000)
{
@@ -203,7 +203,7 @@ lv_res_t launch_payload(lv_obj_t *list)
}
out:
sd_unmount(false);
sd_unmount();
return LV_RES_OK;
}
@@ -378,7 +378,7 @@ void nyx_init_load_res()
// Load background resource if any.
hekate_bg = bmp_to_lvimg_obj("bootloader/res/background.bmp");
sd_unmount(false);
sd_unmount();
h_cfg.rcm_patched = fuse_check_patched_rcm();
}