From 81270f3142317595a2e13c3579d41a72120cb728 Mon Sep 17 00:00:00 2001 From: RipleyTom Date: Sat, 20 Feb 2021 21:10:09 +0100 Subject: [PATCH] Remove now useless code from sys_bnet_connect --- rpcs3/Emu/Cell/lv2/sys_net.cpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/rpcs3/Emu/Cell/lv2/sys_net.cpp b/rpcs3/Emu/Cell/lv2/sys_net.cpp index c3ec3e919d..41309dd3b3 100644 --- a/rpcs3/Emu/Cell/lv2/sys_net.cpp +++ b/rpcs3/Emu/Cell/lv2/sys_net.cpp @@ -1558,7 +1558,6 @@ error_code sys_net_bnet_connect(ppu_thread& ppu, s32 s, vm::ptr(addr_buf.buf); @@ -1665,11 +1664,6 @@ error_code sys_net_bnet_connect(ppu_thread& ppu, s32 s, vm::ptr>(53); name.sin_addr.s_addr = nph->get_dns_ip(); - // Overwrite arg (probably used to validate recvfrom addr) - psa_in->sin_family = SYS_NET_AF_INET; - psa_in->sin_port = 53; - psa_in->sin_addr = nph->get_dns_ip(); - addr_buf.changed = true; sys_net.notice("sys_net_bnet_connect: using DNS..."); nph->add_dns_spy(s); @@ -1765,11 +1759,6 @@ error_code sys_net_bnet_connect(ppu_thread& ppu, s32 s, vm::ptr