Apparently my try to fix racing issue with mixed path was causing stability issue, oh well

This commit is contained in:
LunaMoo committed 2020-04-05 23:04:10 +02:00
1 parent 23e647abfa
commit 4debff114c
2 files changed
+2 -6

No files matched your search

+1 -5
View File
@@ -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);
}
+1 -1
View File
@@ -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()) {