0
0
Fork 0

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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