mirror of
https://github.com/CTCaer/hekate.git
synced 2024-11-10 04:21:45 +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:
parent
75b7d91abf
commit
10205b17dd
1 changed files with 0 additions and 6 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue