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

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