diff options
| author | Thomas Guillemard <me@thog.eu> | 2019-07-14 01:47:18 +0200 |
|---|---|---|
| committer | Ac_K <Acoustik666@gmail.com> | 2019-07-14 01:47:18 +0200 |
| commit | 4926f6523d3130879e108403979ab68f1212f544 (patch) | |
| tree | 87d7198b4c99c58ca9e44f60394734999a73cdca | |
| parent | 560ccbeb2d55a4426ad2827bf7534d4a695431c2 (diff) | |
Fix bsd recvfrom implementation (#730)
| -rw-r--r-- | Ryujinx.HLE/HOS/Services/Bsd/IClient.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Ryujinx.HLE/HOS/Services/Bsd/IClient.cs b/Ryujinx.HLE/HOS/Services/Bsd/IClient.cs index f33f9709..09f59b65 100644 --- a/Ryujinx.HLE/HOS/Services/Bsd/IClient.cs +++ b/Ryujinx.HLE/HOS/Services/Bsd/IClient.cs @@ -484,7 +484,6 @@ namespace Ryujinx.HLE.HOS.Services.Bsd SocketFlags socketFlags = (SocketFlags)context.RequestData.ReadInt32(); (long receivePosition, long receiveLength) = context.Request.GetBufferType0x22(); - (long sockAddrInPosition, long sockAddrInSize) = context.Request.GetBufferType0x21(); (long sockAddrOutPosition, long sockAddrOutSize) = context.Request.GetBufferType0x22(1); LinuxError errno = LinuxError.EBADF; @@ -502,7 +501,7 @@ namespace Ryujinx.HLE.HOS.Services.Bsd } byte[] receivedBuffer = new byte[receiveLength]; - EndPoint endPoint = ParseSockAddr(context, sockAddrInPosition, sockAddrInSize); + EndPoint endPoint = new IPEndPoint(IPAddress.Any, 0); try { |
