aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Shader/Decoders/OpCodeConditional.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2021-01-09 20:11:31 -0300
committerGitHub <noreply@github.com>2021-01-10 10:11:31 +1100
commit8e0a421264df4eadbe35e2e63fcb81a02ae04ba4 (patch)
treef566ba564c797d9e82f2f645bde65de51581d47c /Ryujinx.Graphics.Shader/Decoders/OpCodeConditional.cs
parent71e2a002214a61d869e8f2848c7257c787b9b0b9 (diff)
Fix remap when handle is 0 (#1882)
* Nvservices cleanup and attempt to fix remap * Unmap if remap handle is 0 * Remove mapped pool add from Remap
Diffstat (limited to 'Ryujinx.Graphics.Shader/Decoders/OpCodeConditional.cs')
-rw-r--r--Ryujinx.Graphics.Shader/Decoders/OpCodeConditional.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.Graphics.Shader/Decoders/OpCodeConditional.cs b/Ryujinx.Graphics.Shader/Decoders/OpCodeConditional.cs
index f9110707..219eec89 100644
--- a/Ryujinx.Graphics.Shader/Decoders/OpCodeConditional.cs
+++ b/Ryujinx.Graphics.Shader/Decoders/OpCodeConditional.cs
@@ -6,7 +6,7 @@ namespace Ryujinx.Graphics.Shader.Decoders
{
public Condition Condition { get; }
- public new static OpCode Create(InstEmitter emitter, ulong address, long opCode) => new OpCodeExit(emitter, address, opCode);
+ public new static OpCode Create(InstEmitter emitter, ulong address, long opCode) => new OpCodeConditional(emitter, address, opCode);
public OpCodeConditional(InstEmitter emitter, ulong address, long opCode) : base(emitter, address, opCode)
{