GpuMethodCall.cs 646 B

123456789101112131415161718192021222324
  1. namespace Ryujinx.Graphics
  2. {
  3. struct GpuMethodCall
  4. {
  5. public int Method { get; private set; }
  6. public int Argument { get; private set; }
  7. public int SubChannel { get; private set; }
  8. public int MethodCount { get; private set; }
  9. public bool IsLastCall => MethodCount <= 1;
  10. public GpuMethodCall(
  11. int method,
  12. int argument,
  13. int subChannel = 0,
  14. int methodCount = 0)
  15. {
  16. Method = method;
  17. Argument = argument;
  18. SubChannel = subChannel;
  19. MethodCount = methodCount;
  20. }
  21. }
  22. }