mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-11-16 10:05:25 +00:00
24 lines
666 B
C#
24 lines
666 B
C#
|
namespace Ryujinx.Graphics
|
||
|
{
|
||
|
struct GpuMethodCall
|
||
|
{
|
||
|
public int Method { get; private set; }
|
||
|
public int Argument { get; private set; }
|
||
|
public int SubChannel { get; private set; }
|
||
|
public int MethodCount { get; private set; }
|
||
|
|
||
|
public bool IsLastCall => MethodCount <= 1;
|
||
|
|
||
|
public GpuMethodCall(
|
||
|
int Method,
|
||
|
int Argument,
|
||
|
int SubChannel = 0,
|
||
|
int MethodCount = 0)
|
||
|
{
|
||
|
this.Method = Method;
|
||
|
this.Argument = Argument;
|
||
|
this.SubChannel = SubChannel;
|
||
|
this.MethodCount = MethodCount;
|
||
|
}
|
||
|
}
|
||
|
}
|