GpuMethodCall.cs 666 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. this.Method = Method;
  17. this.Argument = Argument;
  18. this.SubChannel = SubChannel;
  19. this.MethodCount = MethodCount;
  20. }
  21. }
  22. }