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

@ -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)
{