From 683c061e6052272d3077317a0e93ed28c16e2f66 Mon Sep 17 00:00:00 2001 From: RipleyTom Date: Fri, 15 Oct 2021 06:27:02 +0200 Subject: [PATCH] sys_net: getsockname on unbound p2p socket fix --- rpcs3/Emu/Cell/lv2/sys_net.cpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/rpcs3/Emu/Cell/lv2/sys_net.cpp b/rpcs3/Emu/Cell/lv2/sys_net.cpp index 2a3a047757..b2b8af4993 100644 --- a/rpcs3/Emu/Cell/lv2/sys_net.cpp +++ b/rpcs3/Emu/Cell/lv2/sys_net.cpp @@ -1903,7 +1903,7 @@ error_code sys_net_bnet_getsockname(ppu_thread& ppu, s32 s, vm::ptr(&native_addr), &native_addrlen) == 0) { ensure(native_addr.ss_family == AF_INET); @@ -1928,8 +1934,6 @@ error_code sys_net_bnet_getsockname(ppu_thread& ppu, s32 s, vm::ptr