Ver Fonte

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

Fix #1341
Mary há 5 anos atrás
pai
commit
c70056bc76
1 ficheiros alterados com 1 adições e 0 exclusões
  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)
                 {