Explorar o código

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

Fix #1341
Mary %!s(int64=5) %!d(string=hai) anos
pai
achega
c70056bc76
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      Ryujinx.HLE/HOS/Services/Sockets/Bsd/IClient.cs

+ 1 - 0
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)
                 {