mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-06 04:33:49 +01:00
sceNetResolver: Move error codes to enum, modernize logging
This commit is contained in:
1 parent
242fd20798
commit
89c0b5f20b
5 files changed
+119
-85
No files matched your search
+5
-1
@@ -327,7 +327,8 @@ bool LoadAutoDNS(std::string_view json) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// If dyn_dns is non-empty, try to use it to replace the specified DNS.
|
||||
// If dyn_dns is non-empty, try to use it to replace the specified DNS server.
|
||||
// Additionally, this removes all fixed lookups from the table.
|
||||
// If fails, we just use the dns. TODO: Do this in the background somehow...
|
||||
const auto &dns = g_infraDNSConfig.dns;
|
||||
const auto &dyn_dns = g_infraDNSConfig.dyn_dns;
|
||||
@@ -1182,6 +1183,9 @@ int NetApctl_Term() {
|
||||
apctlThreadID = 0;
|
||||
}
|
||||
|
||||
// Clear out handlers.
|
||||
apctlHandlers.clear();
|
||||
|
||||
g_netApctlInited = false;
|
||||
netApctlState = PSP_NET_APCTL_STATE_DISCONNECTED;
|
||||
return 0;
|
||||
|
||||
Reference in new issue
Block a user