some logging

This commit is contained in:
georgemoralis 2025-05-28 13:09:29 +03:00
parent 9cb31aa625
commit d55e383ce3

View File

@ -976,6 +976,7 @@ const char* PS4_SYSV_ABI sceNetInetNtop(int af, const void* src, char* dst, u32
u32 len; u32 len;
if (af == 0x1C) { // AF_INET6 if (af == 0x1C) { // AF_INET6
LOG_ERROR(Lib_Net, "AF_INET6 partial");
// return FUN_010063d0(src, dst, size, 0);//TODO // return FUN_010063d0(src, dst, size, 0);//TODO
#ifdef WIN32 #ifdef WIN32
const char* res = InetNtopA(af, src, dst, size); const char* res = InetNtopA(af, src, dst, size);
@ -1001,11 +1002,14 @@ const char* PS4_SYSV_ABI sceNetInetNtop(int af, const void* src, char* dst, u32
} }
*sceNetErrnoLoc() = ORBIS_NET_ENOSPC; *sceNetErrnoLoc() = ORBIS_NET_ENOSPC;
LOG_ERROR(Lib_Net, "returned ORBIS_NET_ENOSPC");
} else { } else {
*sceNetErrnoLoc() = ORBIS_NET_ENOSPC; *sceNetErrnoLoc() = ORBIS_NET_ENOSPC;
LOG_ERROR(Lib_Net, "returned ORBIS_NET_ENOSPC");
} }
} else { } else {
*sceNetErrnoLoc() = ORBIS_NET_EAFNOSUPPORT; *sceNetErrnoLoc() = ORBIS_NET_EAFNOSUPPORT;
LOG_ERROR(Lib_Net, "returned ORBIS_NET_EAFNOSUPPORT");
} }
return nullptr; return nullptr;