Don't allow going back if you're in sdmc:/ on the switch

This commit is contained in:
Adubbz 2018-02-25 11:11:50 +11:00
parent 9e3ca7e6db
commit 68679cc097

View File

@ -64,8 +64,11 @@ bool menuUpdate(void) {
}
else if (down & KEY_B)
{
//workerSchedule(changeDirTask, "..");
menuScan("..");
if (strcmp( menu->dirname, "sdmc:/") != 0)
{
//workerSchedule(changeDirTask, "..");
menuScan("..");
}
}
else if (down & KEY_PLUS)
{