From d8f0c714b64d58b9ec81aeadd38b3cdf2f5c027f Mon Sep 17 00:00:00 2001 From: suchmememanyskill Date: Tue, 2 Mar 2021 00:39:31 +0100 Subject: [PATCH] show sd error message on mount fail --- source/tegraexplorer/mainmenu.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source/tegraexplorer/mainmenu.c b/source/tegraexplorer/mainmenu.c index 0011369..feffed2 100644 --- a/source/tegraexplorer/mainmenu.c +++ b/source/tegraexplorer/mainmenu.c @@ -124,7 +124,11 @@ void RebootToHekate(){ } void MountOrUnmountSD(){ - (sd_mounted) ? sd_unmount() : sd_mount(); + gfx_clearscreen(); + if (sd_mounted) + sd_unmount(); + else if (!sd_mount()) + hidWait(); } menuPaths mainMenuPaths[] = {