1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-12-02 19:12:01 +00:00
Ryujinx/Ryujinx.HLE/HOS/Ipc/IpcRecvListBuffDesc.cs
2018-12-01 14:03:56 -06:00

19 lines
No EOL
409 B
C#

using System.IO;
namespace Ryujinx.HLE.HOS.Ipc
{
struct IpcRecvListBuffDesc
{
public long Position { get; private set; }
public long Size { get; private set; }
public IpcRecvListBuffDesc(BinaryReader reader)
{
long value = reader.ReadInt64();
Position = value & 0xffffffffffff;
Size = (ushort)(value >> 48);
}
}
}