summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-09-07 07:04:36 +0200
committerLioncash <mathew1800@gmail.com>2020-09-07 07:06:30 +0200
commit40968e39937e3af3da399f66e7024f754ba1236b (patch)
treea973bbae1bdbfa3e3770ab2a31753a09184ee212 /src
parentbsd: Resolve sign comparison warnings (diff)
downloadyuzu-40968e39937e3af3da399f66e7024f754ba1236b.tar
yuzu-40968e39937e3af3da399f66e7024f754ba1236b.tar.gz
yuzu-40968e39937e3af3da399f66e7024f754ba1236b.tar.bz2
yuzu-40968e39937e3af3da399f66e7024f754ba1236b.tar.lz
yuzu-40968e39937e3af3da399f66e7024f754ba1236b.tar.xz
yuzu-40968e39937e3af3da399f66e7024f754ba1236b.tar.zst
yuzu-40968e39937e3af3da399f66e7024f754ba1236b.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/sockets/bsd.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/hle/service/sockets/bsd.cpp b/src/core/hle/service/sockets/bsd.cpp
index de6b150f7..7b9dd42d8 100644
--- a/src/core/hle/service/sockets/bsd.cpp
+++ b/src/core/hle/service/sockets/bsd.cpp
@@ -764,6 +764,7 @@ std::pair<s32, Errno> BSD::SendToImpl(s32 fd, u32 flags, const std::vector<u8>&
SockAddrIn guest_addr_in;
std::memcpy(&guest_addr_in, addr.data(), sizeof(guest_addr_in));
addr_in = Translate(guest_addr_in);
+ p_addr_in = &addr_in;
}
return Translate(file_descriptors[fd]->socket->SendTo(flags, message, p_addr_in));