diff options
| author | gdk <gab.dark.100@gmail.com> | 2019-11-21 23:46:14 -0300 |
|---|---|---|
| committer | Thog <thog@protonmail.com> | 2020-01-09 02:13:00 +0100 |
| commit | 2437ccca0e82b8b2a99d8632acf28ca0cc14c523 (patch) | |
| tree | fff04c08f5812b602378f352650144736983497a /Ryujinx.Graphics.Gpu/State | |
| parent | 3ca675223a495f7d0a9d2130b8d88d9c5c79747e (diff) | |
Separate sub-channel state
Diffstat (limited to 'Ryujinx.Graphics.Gpu/State')
| -rw-r--r-- | Ryujinx.Graphics.Gpu/State/GpuState.cs | 4 |
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); } } |
