Redirect InetPtonEx to InetPton

This commit is contained in:
Marcin Mikołajczyk 2025-07-12 15:28:40 +01:00
parent 78e4a86088
commit f40ea8851c
2 changed files with 4 additions and 4 deletions

View File

@ -1339,9 +1339,9 @@ int PS4_SYSV_ABI sceNetInetPton(int af, const char* src, void* dst) {
return res;
}
int PS4_SYSV_ABI sceNetInetPtonEx() {
LOG_ERROR(Lib_Net, "(STUBBED) called");
return ORBIS_OK;
int PS4_SYSV_ABI sceNetInetPtonEx(int af, const char* src, void* dst, int flags) {
LOG_WARNING(Lib_Net, "ignored flags, redirecting to sceNetInetPton");
return sceNetInetPton(af, src, dst);
}
int PS4_SYSV_ABI sceNetInetPtonWithScopeId() {

View File

@ -297,7 +297,7 @@ u16 PS4_SYSV_ABI sceNetHtons(u16 host16);
const char* PS4_SYSV_ABI sceNetInetNtop(int af, const void* src, char* dst, u32 size);
int PS4_SYSV_ABI sceNetInetNtopWithScopeId();
int PS4_SYSV_ABI sceNetInetPton(int af, const char* src, void* dst);
int PS4_SYSV_ABI sceNetInetPtonEx();
int PS4_SYSV_ABI sceNetInetPtonEx(int af, const char* src, void* dst, int flags);
int PS4_SYSV_ABI sceNetInetPtonWithScopeId();
int PS4_SYSV_ABI sceNetInfoDumpStart();
int PS4_SYSV_ABI sceNetInfoDumpStop();