Skip to content

Commit

Permalink
Replace ".." with "Back"
Browse files Browse the repository at this point in the history
  • Loading branch information
RocketRobz committed Mar 5, 2018
1 parent 4bc67c1 commit 9006022
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion romsel_dsimenutheme/arm9/source/iconTitle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,11 @@ void titleUpdate(bool isDir, const char* name)
if (isDir)
{
// text
writeBannerText(0, name, "", "");
if (strcmp(name, "..") == 0) {
writeBannerText(0, "Back", "", "");
} else {
writeBannerText(0, name, "", "");
}
}
else if (strcasecmp(name + strlen(name) - 3, ".gb") == 0 ||
strcasecmp (name + strlen(name) - 4, ".sgb") == 0 ||
Expand Down

0 comments on commit 9006022

Please sign in to comment.