mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-15 02:29:51 +01:00
Apparently my try to fix racing issue with mixed path was causing stability issue, oh well
This commit is contained in:
1 parent
23e647abfa
commit
4debff114c
2 files changed
+2
-6
No files matched your search
+1
-5
@@ -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
@@ -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()) {
|
||||
|
||||
Reference in new issue
Block a user