diff --git a/src/core/libraries/game_live_streaming/gamelivestreaming.cpp b/src/core/libraries/game_live_streaming/gamelivestreaming.cpp index cad2f18a5..a1ebddfbf 100644 --- a/src/core/libraries/game_live_streaming/gamelivestreaming.cpp +++ b/src/core/libraries/game_live_streaming/gamelivestreaming.cpp @@ -60,8 +60,8 @@ int PS4_SYSV_ABI sceGameLiveStreamingGetCurrentBroadcastScreenLayout() { } int PS4_SYSV_ABI sceGameLiveStreamingGetCurrentStatus(OrbisGameLiveStreamingStatus* status) { + memset(status, 0, sizeof(*status)); status->isOnAir = false; - status->spectatorCounts = 0; LOG_DEBUG(Lib_GameLiveStreaming, "(STUBBED) called userid = {}", status->userId); return ORBIS_OK; } diff --git a/src/core/libraries/network/net.cpp b/src/core/libraries/network/net.cpp index d373e4fdb..161fc5214 100644 --- a/src/core/libraries/network/net.cpp +++ b/src/core/libraries/network/net.cpp @@ -736,7 +736,7 @@ int PS4_SYSV_ABI sceNetInetNtopWithScopeId() { int PS4_SYSV_ABI sceNetInetPton(int af, const char* src, void* dst) { #ifdef WIN32 - int res = InetPton(af, src, dst); + int res = InetPtonA(af, src, dst); #else int res = inet_pton(af, src, dst); #endif