From 8e0a421264df4eadbe35e2e63fcb81a02ae04ba4 Mon Sep 17 00:00:00 2001 From: gdkchan Date: Sat, 9 Jan 2021 20:11:31 -0300 Subject: 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 --- Ryujinx.Graphics.Shader/Decoders/OpCodeConditional.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Ryujinx.Graphics.Shader/Decoders/OpCodeConditional.cs') 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) { -- cgit v1.2.3