NvGpuPBEntry.cs 571 B

1234567891011121314151617181920212223
  1. using System;
  2. using System.Collections.ObjectModel;
  3. namespace Ryujinx.HLE.Gpu.Memory
  4. {
  5. struct NvGpuPBEntry
  6. {
  7. public int Method { get; private set; }
  8. public int SubChannel { get; private set; }
  9. private int[] m_Arguments;
  10. public ReadOnlyCollection<int> Arguments => Array.AsReadOnly(m_Arguments);
  11. public NvGpuPBEntry(int Method, int SubChannel, params int[] Arguments)
  12. {
  13. this.Method = Method;
  14. this.SubChannel = SubChannel;
  15. this.m_Arguments = Arguments;
  16. }
  17. }
  18. }