mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-04 08:22:32 +00:00
fix for sceNetInetPton
This commit is contained in:
parent
15d354dcbf
commit
4ab55d75b2
@ -60,8 +60,8 @@ int PS4_SYSV_ABI sceGameLiveStreamingGetCurrentBroadcastScreenLayout() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
int PS4_SYSV_ABI sceGameLiveStreamingGetCurrentStatus(OrbisGameLiveStreamingStatus* status) {
|
int PS4_SYSV_ABI sceGameLiveStreamingGetCurrentStatus(OrbisGameLiveStreamingStatus* status) {
|
||||||
|
memset(status, 0, sizeof(*status));
|
||||||
status->isOnAir = false;
|
status->isOnAir = false;
|
||||||
status->spectatorCounts = 0;
|
|
||||||
LOG_DEBUG(Lib_GameLiveStreaming, "(STUBBED) called userid = {}", status->userId);
|
LOG_DEBUG(Lib_GameLiveStreaming, "(STUBBED) called userid = {}", status->userId);
|
||||||
return ORBIS_OK;
|
return ORBIS_OK;
|
||||||
}
|
}
|
||||||
|
@ -736,7 +736,7 @@ int PS4_SYSV_ABI sceNetInetNtopWithScopeId() {
|
|||||||
|
|
||||||
int PS4_SYSV_ABI sceNetInetPton(int af, const char* src, void* dst) {
|
int PS4_SYSV_ABI sceNetInetPton(int af, const char* src, void* dst) {
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
int res = InetPton(af, src, dst);
|
int res = InetPtonA(af, src, dst);
|
||||||
#else
|
#else
|
||||||
int res = inet_pton(af, src, dst);
|
int res = inet_pton(af, src, dst);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user