diff --git a/Core/HLE/sceNetResolver.cpp b/Core/HLE/sceNetResolver.cpp index a8b5bd4b8726..1b7a520f5e0a 100644 --- a/Core/HLE/sceNetResolver.cpp +++ b/Core/HLE/sceNetResolver.cpp @@ -67,11 +67,7 @@ static std::mutex g_netResolversLock; // Do we really need this? static bool g_netResolverInitialized = true; static int sceNetResolverInit() { - // TODO: Move this to infra-jns.config! This isn't ok. - // However obviously don't remove the mHostToAlias mechanism. - g_Config.mHostToAlias["socomftb2.psp.online.scea.com"] = "67.222.156.250"; - g_Config.mHostToAlias["socompsp-prod.muis.pdonline.scea.com"] = "67.222.156.250"; - + // Hardcoded mHostToAlias entries here have been moved to the infra-dns.json file. return hleLogSuccessInfoI(Log::sceNet, 0); } diff --git a/assets/infra-dns.json b/assets/infra-dns.json index 21691e345d59..495df651990a 100644 --- a/assets/infra-dns.json +++ b/assets/infra-dns.json @@ -159,7 +159,11 @@ "UCUS98615", "UCES00038" ], - "score": 4 + "score": 4, + "domains": { + "socomftb2.psp.online.scea.com": "67.222.156.250", + "socompsp-prod.muis.pdonline.scea.com": "67.222.156.250" + } }, { "name": "SOCOM Fireteam Bravo 2", @@ -167,7 +171,15 @@ "UCUS98645", "UCES00543" ], - "score": 4 + "other_ids": [ + "UCKS45043", + "UCUS80171" + ], + "score": 4, + "domains": { + "socomftb2.psp.online.scea.com": "67.222.156.250", + "socompsp-prod.muis.pdonline.scea.com": "67.222.156.250" + } }, { "name": "SOCOM Tactical Strike", @@ -175,7 +187,14 @@ "UCUS98649", "UCES00855" ], - "score": 3 + "other_ids": [ + "NPUG80220" + ], + "score": 3, + "domains": { + "socomftb2.psp.online.scea.com": "67.222.156.250", + "socompsp-prod.muis.pdonline.scea.com": "67.222.156.250" + } }, { "name": "Syphon Filter: Dark Mirror",