Fix backwards check for DontDownloadInfraJson

This commit is contained in:
Henrik Rydgård 2025-02-17 16:14:51 -06:00
parent 74ee868cdb
commit 5aa73ecb17

View file

@ -348,7 +348,7 @@ bool PollInfraJsonDownload(std::string *jsonOutput) {
return true;
}
if (!g_Config.bDontDownloadInfraJson) {
if (g_Config.bDontDownloadInfraJson) {
NOTICE_LOG(Log::sceNet, "As specified by the ini setting DontDownloadInfraJson, using infra-dns.json from /assets");
size_t jsonSize = 0;
std::unique_ptr<uint8_t[]> jsonStr(g_VFS.ReadFile("infra-dns.json", &jsonSize));