mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 05:26:24 +02:00
1 parent
989b564fa4
commit
83039f3f90
2 files changed
+16
-1
No files matched your search
+10
-1
@@ -204,7 +204,16 @@ static bool LoadGameList(const std::string &host, int port, std::vector<std::str
|
||||
return false;
|
||||
}
|
||||
|
||||
for (const std::string &item : items) {
|
||||
for (std::string item : items) {
|
||||
// Apply some workarounds.
|
||||
if (item.empty())
|
||||
continue;
|
||||
|
||||
if (item[0] != '/')
|
||||
item.insert(0, "/");
|
||||
if (item.back() == '\r')
|
||||
item.pop_back();
|
||||
|
||||
if (!RemoteISOFileSupported(item)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user