This repository has been archived on 2025-09-02. You can view files and clone it, but cannot push or open issues or pull requests.
Files
ryujinx/src/Ryujinx.HLE/HOS/Ipc/IpcRecvListBuffDesc.cs
2023-04-27 23:51:14 +02:00

23 lines
517 B
C#

using System.IO;
namespace Ryujinx.HLE.HOS.Ipc
{
struct IpcRecvListBuffDesc
{
public ulong Position { get; private set; }
public ulong Size { get; private set; }
public IpcRecvListBuffDesc(ulong position, ulong size)
{
Position = position;
Size = size;
}
public IpcRecvListBuffDesc(ulong packedValue)
{
Position = packedValue & 0xffffffffffff;
Size = (ushort)(packedValue >> 48);
}
}
}