1
0
Fork 0
mirror of https://github.com/suchmememanyskill/TegraExplorer.git synced 2024-11-13 23:46:42 +00:00

show sd error message on mount fail

This commit is contained in:
suchmememanyskill 2021-03-02 00:39:31 +01:00
parent 853cf4f5cf
commit d8f0c714b6

View file

@ -124,7 +124,11 @@ void RebootToHekate(){
} }
void MountOrUnmountSD(){ void MountOrUnmountSD(){
(sd_mounted) ? sd_unmount() : sd_mount(); gfx_clearscreen();
if (sd_mounted)
sd_unmount();
else if (!sd_mount())
hidWait();
} }
menuPaths mainMenuPaths[] = { menuPaths mainMenuPaths[] = {