Separate sub-channel state
This commit is contained in:
parent
3ca675223a
commit
2437ccca0e
15 changed files with 213 additions and 198 deletions
|
@ -7,7 +7,7 @@ namespace Ryujinx.Graphics.Gpu.State
|
|||
{
|
||||
private const int RegistersCount = 0xe00;
|
||||
|
||||
public delegate void MethodCallback(int argument);
|
||||
public delegate void MethodCallback(GpuState state, int argument);
|
||||
|
||||
private int[] _backingMemory;
|
||||
|
||||
|
@ -71,7 +71,7 @@ namespace Ryujinx.Graphics.Gpu.State
|
|||
|
||||
if (callback != null)
|
||||
{
|
||||
callback(meth.Argument);
|
||||
callback(this, meth.Argument);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue