Skip to content

Commit d8f0c71

Browse files
show sd error message on mount fail
1 parent 853cf4f commit d8f0c71

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

source/tegraexplorer/mainmenu.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,11 @@ void RebootToHekate(){
124124
}
125125

126126
void MountOrUnmountSD(){
127-
(sd_mounted) ? sd_unmount() : sd_mount();
127+
gfx_clearscreen();
128+
if (sd_mounted)
129+
sd_unmount();
130+
else if (!sd_mount())
131+
hidWait();
128132
}
129133

130134
menuPaths mainMenuPaths[] = {

0 commit comments

Comments
 (0)