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 committed by plutoo
parent 5e95934cb6
commit b6b061f2b2

View File

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