IpcRecvListBuffDesc.cs 409 B

12345678910111213141516171819
  1. using System.IO;
  2. namespace Ryujinx.HLE.HOS.Ipc
  3. {
  4. struct IpcRecvListBuffDesc
  5. {
  6. public long Position { get; private set; }
  7. public long Size { get; private set; }
  8. public IpcRecvListBuffDesc(BinaryReader reader)
  9. {
  10. long value = reader.ReadInt64();
  11. Position = value & 0xffffffffffff;
  12. Size = (ushort)(value >> 48);
  13. }
  14. }
  15. }