From 3aae24aea503fed51189428474fd302dfe35d190 Mon Sep 17 00:00:00 2001 From: LunaMoo Date: Wed, 31 May 2017 12:44:05 +0200 Subject: [PATCH] Remove unnecessary \ / conversion. --- Core/PSPLoaders.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Core/PSPLoaders.cpp b/Core/PSPLoaders.cpp index f87ea7f64b..9f8066005d 100644 --- a/Core/PSPLoaders.cpp +++ b/Core/PSPLoaders.cpp @@ -336,11 +336,7 @@ bool Load_PSP_ELF_PBP(FileLoader *fileLoader, std::string *error_string) { // TODO: Remove this after ~ 1.6 // It checks for old filenames for homebrew savestates(folder name) and rename them to new fakeID format std::string savestateDir = GetSysDirectory(DIRECTORY_SAVESTATE); - savestateDir = ReplaceAll(savestateDir, "\\", "/"); -#ifdef _WIN32 - // Turn the slashes back to the Windows way. - savestateDir = ReplaceAll(savestateDir, "/", "\\"); -#endif + for (int i = 0; i < 5; i += 1) { std::string oldName = StringFromFormat("%s%s_%d.ppst", savestateDir.c_str(), homebrewName.c_str(), i); if (File::Exists(oldName)) {