mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-04 11:43:47 +01:00
Make the adhoc server list data driven
This commit is contained in:
1 parent
2a1cefb58b
commit
962d132e5f
8 files changed
+168
-21
No files matched your search
+1
-1
@@ -409,7 +409,7 @@ bool PollInfraJsonDownload(std::string *jsonOutput) {
|
||||
std::unique_ptr<uint8_t[]> jsonStr(g_VFS.ReadFile("infra-dns.json", &jsonSize));
|
||||
if (!jsonStr) {
|
||||
jsonOutput->clear();
|
||||
return true; // A clear output but returning true means something vent very wrong.
|
||||
return true; // A clear output but returning true means something went very wrong.
|
||||
}
|
||||
*jsonOutput = std::string((const char *)jsonStr.get(), jsonSize);
|
||||
// In case there's an old request, get rid of it.
|
||||
|
||||
Reference in new issue
Block a user