diff options
| author | Mary <me@thog.eu> | 2021-06-09 00:50:18 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-09 00:50:18 +0200 |
| commit | 60cf3dfebc6bc573fb90a1b9645bca43da3d65f6 (patch) | |
| tree | efefc404f8770751a240afb5e024536171df59ce /Ryujinx.Graphics.Gpu/Engine | |
| parent | 02e2e561ac136473d4d259d872dc5e211c6a3e67 (diff) | |
Do not clear gpu subchannel state on BindChannel (#2348)
This fixes a regression caused by #980, that was causing a crash on New
Super Lucky's Tale.
As always, this need feedback on possible regression on any games.
Fix #2343.
Diffstat (limited to 'Ryujinx.Graphics.Gpu/Engine')
| -rw-r--r-- | Ryujinx.Graphics.Gpu/Engine/GPFifo/GPFifoProcessor.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.Graphics.Gpu/Engine/GPFifo/GPFifoProcessor.cs b/Ryujinx.Graphics.Gpu/Engine/GPFifo/GPFifoProcessor.cs index 32fd8b73..78912bcc 100644 --- a/Ryujinx.Graphics.Gpu/Engine/GPFifo/GPFifoProcessor.cs +++ b/Ryujinx.Graphics.Gpu/Engine/GPFifo/GPFifoProcessor.cs @@ -140,7 +140,7 @@ namespace Ryujinx.Graphics.Gpu.Engine.GPFifo { if ((MethodOffset)meth.Method == MethodOffset.BindChannel) { - _subChannels[meth.SubChannel] = new GpuState(); + _subChannels[meth.SubChannel].ClearCallbacks(); _context.Methods.RegisterCallbacks(_subChannels[meth.SubChannel]); } |
