diff options
author | Mary <me@thog.eu> | 2020-07-04 00:13:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-04 00:13:35 +0200 |
commit | c70056bc76096a9d468cafdc599de4fbbc9b1aa1 (patch) | |
tree | 479031e99e2b5ecd8ec78716eb46b355e4b7a4c9 | |
parent | 0ac4c0c92ce54fcb211e0a21c385d85a48d0e1ae (diff) |
sockets: Make sure to write the receivedBuffer (#1346)
Fix #1341
-rw-r--r-- | Ryujinx.HLE/HOS/Services/Sockets/Bsd/IClient.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Ryujinx.HLE/HOS/Services/Sockets/Bsd/IClient.cs b/Ryujinx.HLE/HOS/Services/Sockets/Bsd/IClient.cs index f4dd8ef2..d36cb8a9 100644 --- a/Ryujinx.HLE/HOS/Services/Sockets/Bsd/IClient.cs +++ b/Ryujinx.HLE/HOS/Services/Sockets/Bsd/IClient.cs @@ -1148,6 +1148,7 @@ namespace Ryujinx.HLE.HOS.Services.Sockets.Bsd { result = socket.Handle.Receive(receivedBuffer); errno = SetResultErrno(socket.Handle, result); + context.Memory.Write((ulong)receivePosition, receivedBuffer); } catch (SocketException exception) { |