sockets: Make sure to write the receivedBuffer (#1346)

Fix #1341
This commit is contained in:
Mary
2020-07-04 00:13:35 +02:00
committed by GitHub
parent 0ac4c0c92c
commit c70056bc76

View File

@ -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)
{