Initial work
This commit is contained in:
parent
f617fb542a
commit
1876b346fe
518 changed files with 15170 additions and 12486 deletions
24
Ryujinx.Graphics.Gpu/MethodParams.cs
Normal file
24
Ryujinx.Graphics.Gpu/MethodParams.cs
Normal file
|
@ -0,0 +1,24 @@
|
|||
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;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue