Implement ORBIS_NET_CTL_INFO_HTTP_PROXY_CONFIG (#3366)

This commit is contained in:
kalaposfos13 2025-08-03 10:15:13 +02:00 committed by GitHub
commit a362f20dae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

View file

@ -697,7 +697,7 @@ int PS4_SYSV_ABI sceNetEpollWait() {
}
int* PS4_SYSV_ABI sceNetErrnoLoc() {
LOG_ERROR(Lib_Net, "(STUBBED) called");
LOG_DEBUG(Lib_Net, "called");
return &net_errno;
}

View file

@ -217,6 +217,10 @@ int PS4_SYSV_ABI sceNetCtlGetInfo(int code, OrbisNetCtlInfo* info) {
}
break;
}
case ORBIS_NET_CTL_INFO_HTTP_PROXY_CONFIG:
info->http_proxy_config = 0; // off
LOG_DEBUG(Lib_NetCtl, "http proxy config: {}", info->http_proxy_config);
break;
default:
LOG_ERROR(Lib_NetCtl, "{} unsupported code", code);
}