aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Shader/Decoders/OpCodePush.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.Graphics.Shader/Decoders/OpCodePush.cs')
-rw-r--r--Ryujinx.Graphics.Shader/Decoders/OpCodePush.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.Shader/Decoders/OpCodePush.cs b/Ryujinx.Graphics.Shader/Decoders/OpCodePush.cs
index a7657bcf..4f00a069 100644
--- a/Ryujinx.Graphics.Shader/Decoders/OpCodePush.cs
+++ b/Ryujinx.Graphics.Shader/Decoders/OpCodePush.cs
@@ -8,6 +8,8 @@ namespace Ryujinx.Graphics.Shader.Decoders
{
public Dictionary<OpCodeBranchPop, Operand> PopOps { get; }
+ public new static OpCode Create(InstEmitter emitter, ulong address, long opCode) => new OpCodePush(emitter, address, opCode);
+
public OpCodePush(InstEmitter emitter, ulong address, long opCode) : base(emitter, address, opCode)
{
PopOps = new Dictionary<OpCodeBranchPop, Operand>();