Skip to content

Commit

Permalink
fix empty uma0: list
Browse files Browse the repository at this point in the history
  • Loading branch information
rsn8887 committed Feb 7, 2018
1 parent 3d65eb4 commit 071cf91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gp2x/menu/menu_load.cpp
Expand Up @@ -435,9 +435,9 @@ static int menuLoadLoop(char *curr_path)
if (p <= start) strcpy(newdir, "/");
else { strncpy(newdir, start, p-start); newdir[p-start] = 0; }
}
else if (strcmp(namelist[sel+1]->d_name, "ur0:") == 0)
else if (strcmp(namelist[sel+1]->d_name, "uma0:") == 0)
{
strcpy(newdir, "ur0:/");
strcpy(newdir, "uma0:/");
}
else if (strcmp(namelist[sel+1]->d_name, "ux0:") == 0)
{
Expand Down

0 comments on commit 071cf91

Please sign in to comment.