mirror of
https://github.com/DarkStore-3DS/DarkStore.git
synced 2026-07-03 00:39:02 +00:00
Slight changes.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user