mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-01 18:23:43 +01:00
Ignore the difference between "\" and "/" in "recent" and "remove from recent".
This commit is contained in:
1 parent
3b40705197
commit
09636da4ba
2 files changed
+3
-3
No files matched your search
+1
-1
@@ -554,7 +554,7 @@ void Config::Save() {
|
||||
|
||||
void Config::AddRecent(const std::string &file) {
|
||||
for (auto str = recentIsos.begin(); str != recentIsos.end(); str++) {
|
||||
if (*str == file) {
|
||||
if (!strcmpIgnore(*str, file, "\\", "/")) {
|
||||
recentIsos.erase(str);
|
||||
recentIsos.insert(recentIsos.begin(), file);
|
||||
if ((int)recentIsos.size() > iMaxRecent)
|
||||
|
||||
Reference in new issue
Block a user