mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-18 19:52:02 +00:00
Fix possible regression on bsd
This commit is contained in:
parent
69e32e5bbc
commit
dcf0f0be38
1 changed files with 4 additions and 2 deletions
|
@ -268,11 +268,13 @@ namespace Ryujinx.Core.OsHle.Services.Bsd
|
||||||
|
|
||||||
byte[] IpAdress = NewBsdSocket.IpAddress.GetAddressBytes();
|
byte[] IpAdress = NewBsdSocket.IpAddress.GetAddressBytes();
|
||||||
|
|
||||||
AMemoryHelper.WriteBytes(Context.Memory, AddrBufferPtr, IpAdress);
|
Writer.Write(IpAdress);
|
||||||
|
|
||||||
|
AMemoryHelper.WriteBytes(Context.Memory, AddrBufferPtr, MS.ToArray());
|
||||||
|
|
||||||
Context.ResponseData.Write(Sockets.Count - 1);
|
Context.ResponseData.Write(Sockets.Count - 1);
|
||||||
Context.ResponseData.Write(0);
|
Context.ResponseData.Write(0);
|
||||||
Context.ResponseData.Write(IpAdress.Length);
|
Context.ResponseData.Write(MS.Length);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue