aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Gpu/State
diff options
context:
space:
mode:
authorgdk <gab.dark.100@gmail.com>2019-11-21 23:46:14 -0300
committerThog <thog@protonmail.com>2020-01-09 02:13:00 +0100
commit2437ccca0e82b8b2a99d8632acf28ca0cc14c523 (patch)
treefff04c08f5812b602378f352650144736983497a /Ryujinx.Graphics.Gpu/State
parent3ca675223a495f7d0a9d2130b8d88d9c5c79747e (diff)
Separate sub-channel state
Diffstat (limited to 'Ryujinx.Graphics.Gpu/State')
-rw-r--r--Ryujinx.Graphics.Gpu/State/GpuState.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Ryujinx.Graphics.Gpu/State/GpuState.cs b/Ryujinx.Graphics.Gpu/State/GpuState.cs
index 6c603f30..ecbaa004 100644
--- a/Ryujinx.Graphics.Gpu/State/GpuState.cs
+++ b/Ryujinx.Graphics.Gpu/State/GpuState.cs
@@ -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);
}
}