Slight changes.

This commit is contained in:
StackZ committed 2020-11-16 15:20:35 +01:00
1 parent f08bed5813
commit 0ac9d6f448
10 files changed
+44 -39

No files matched your search

+2 -4
View File
@@ -186,10 +186,8 @@ std::string Overlays::SelectDir(const std::string &oldDir, const std::string &ms
char path[PATH_MAX];
getcwd(path, PATH_MAX);
if (strcmp(path, "sdmc:/") == 0 || strcmp(path, "/") == 0) {
return "";
} else {
if (strcmp(path, "sdmc:/") == 0 || strcmp(path, "/") == 0) return "";
else {
chdir("..");
getcwd(path, PATH_MAX);
currentPath = path;