diff --git a/Core/Config.cpp b/Core/Config.cpp index 21f22a6c29..870591e1f6 100644 --- a/Core/Config.cpp +++ b/Core/Config.cpp @@ -1424,11 +1424,7 @@ void Config::AddRecent(const std::string &file) { // We'll add it back below. This makes sure it's at the front, and only once. RemoveRecent(file); const std::string filename = File::ResolvePath(file); - std::string filename2 = filename; -#ifdef _WIN32 - filename2 = ReplaceAll(filename, "\\", "/"); -#endif - recentIsos.insert(recentIsos.begin(), filename2); + recentIsos.insert(recentIsos.begin(), filename); if ((int)recentIsos.size() > iMaxRecent) recentIsos.resize(iMaxRecent); } diff --git a/Core/PSPLoaders.cpp b/Core/PSPLoaders.cpp index 031363f3e7..d72c648601 100644 --- a/Core/PSPLoaders.cpp +++ b/Core/PSPLoaders.cpp @@ -363,7 +363,7 @@ bool Load_PSP_ELF_PBP(FileLoader *fileLoader, std::string *error_string) { #ifdef _WIN32 // Turn the slashes back to the Windows way. - //path = ReplaceAll(path, "/", "\\"); + path = ReplaceAll(path, "/", "\\"); #endif if (!PSP_CoreParameter().mountRoot.empty()) {