2018-11-16 23:01:31 -05:00
|
|
|
namespace Ryujinx.Graphics
|
|
|
|
{
|
2019-10-13 02:02:07 -04:00
|
|
|
struct MethodParams
|
2018-11-16 23:01:31 -05:00
|
|
|
{
|
|
|
|
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;
|
|
|
|
|
2019-10-13 02:02:07 -04:00
|
|
|
public MethodParams(
|
2019-03-03 20:45:25 -05:00
|
|
|
int method,
|
|
|
|
int argument,
|
|
|
|
int subChannel = 0,
|
|
|
|
int methodCount = 0)
|
2018-11-16 23:01:31 -05:00
|
|
|
{
|
2019-03-03 20:45:25 -05:00
|
|
|
Method = method;
|
|
|
|
Argument = argument;
|
|
|
|
SubChannel = subChannel;
|
|
|
|
MethodCount = methodCount;
|
2018-11-16 23:01:31 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|