From 10205b17dd19590625081699c377927bb8aefdb5 Mon Sep 17 00:00:00 2001 From: CTCaer Date: Sat, 21 May 2022 13:10:12 +0300 Subject: [PATCH] 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. --- bootloader/main.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/bootloader/main.c b/bootloader/main.c index d4a6cdf..2c11224 100644 --- a/bootloader/main.c +++ b/bootloader/main.c @@ -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; }