mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-11-16 01:55:27 +00:00
24 lines
644 B
C#
24 lines
644 B
C#
namespace Ryujinx.Graphics
|
|
{
|
|
struct MethodParams
|
|
{
|
|
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 MethodParams(
|
|
int method,
|
|
int argument,
|
|
int subChannel = 0,
|
|
int methodCount = 0)
|
|
{
|
|
Method = method;
|
|
Argument = argument;
|
|
SubChannel = subChannel;
|
|
MethodCount = methodCount;
|
|
}
|
|
}
|
|
} |