mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-13 17:49:29 +01:00
Only do this for windows.
This commit is contained in:
1 parent
09636da4ba
commit
7bd0e0de78
2 files changed
+12
No files matched your search
@@ -554,7 +554,11 @@ void Config::Save() {
|
||||
|
||||
void Config::AddRecent(const std::string &file) {
|
||||
for (auto str = recentIsos.begin(); str != recentIsos.end(); str++) {
|
||||
#ifdef _WIN32
|
||||
if (!strcmpIgnore(*str, file, "\\", "/")) {
|
||||
#else
|
||||
if (!strcmp(*str, file)) {
|
||||
#endif
|
||||
recentIsos.erase(str);
|
||||
recentIsos.insert(recentIsos.begin(), file);
|
||||
if ((int)recentIsos.size() > iMaxRecent)
|
||||
|
||||
Reference in new issue
Block a user