1
0
Fork 0
mirror of https://github.com/CTCaer/hekate.git synced 2024-11-22 18:06:40 +00:00

hekate: remove sd mount/unmout management for payload launch

Callers manage it anyway.
Fixes a case where missing the payload would result to Nyx not relaunching because sd was unmount.
This commit is contained in:
CTCaer 2022-05-21 13:10:12 +03:00
parent 75b7d91abf
commit 10205b17dd

View file

@ -190,9 +190,6 @@ int launch_payload(char *path, bool update, bool clear_screen)
gfx_clear_grey(0x1B);
gfx_con_setpos(0, 0);
if (!sd_mount())
goto out;
FIL fp;
if (f_open(&fp, path, FA_READ))
{
@ -274,9 +271,6 @@ int launch_payload(char *path, bool update, bool clear_screen)
}
out:
if (!update)
sd_end();
return 1;
}