From 1a00341e6b81e45ff12be463427f22c989113df6 Mon Sep 17 00:00:00 2001 From: RipleyTom Date: Sat, 25 Feb 2023 10:08:43 +0100 Subject: [PATCH] Forces local IP to bind address if set --- rpcs3/Emu/NP/np_handler.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rpcs3/Emu/NP/np_handler.cpp b/rpcs3/Emu/NP/np_handler.cpp index 900899ece1..6b4d1ee679 100644 --- a/rpcs3/Emu/NP/np_handler.cpp +++ b/rpcs3/Emu/NP/np_handler.cpp @@ -380,6 +380,9 @@ namespace np else { bind_ip = conv.s_addr; + + if (bind_ip) + local_ip_addr = bind_ip; } if (g_cfg.net.upnp_enabled)