Slight changes.

This commit is contained in:
StackZ
2020-11-16 15:20:35 +01:00
parent f08bed5813
commit 0ac9d6f448
10 changed files with 44 additions and 39 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ void Overlays::ShowCredits() {
C2D_TargetClear(Bottom, TRANSPARENT);
GFX::DrawTop();
GFX::DrawSprite(sprites_universal_updater_idx, 220, 30);
GFX::DrawSprite(sprites_universal_updater_idx, 220, 26);
Gui::DrawStringCentered(0, 1, 0.7f, TEXT_COLOR, "Universal-Updater - " + Lang::get("CREDITS"), 395, 0, font);
Gui::DrawString(10, 30, 0.5f, TEXT_COLOR, "- Universal-Team", 0, 0, font);
+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;