aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Shader/Decoders/OpCodeBranchIndir.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2020-10-21 09:13:44 -0300
committerGitHub <noreply@github.com>2020-10-21 09:13:44 -0300
commit2f164917126ecef3a44c989e9442d2c663e58535 (patch)
treeb3a37b665bcebfe5c93108992a97fe90512f88dc /Ryujinx.Graphics.Shader/Decoders/OpCodeBranchIndir.cs
parentefa77a241555efa3ddfa3425919211ce6c8134a7 (diff)
Get rid of Reflection.Emit dependency on CPU and Shader projects (#1626)
* Get rid of Reflection.Emit dependency on CPU and Shader projects * Remove useless private sets * Missed those due to the alignment
Diffstat (limited to 'Ryujinx.Graphics.Shader/Decoders/OpCodeBranchIndir.cs')
-rw-r--r--Ryujinx.Graphics.Shader/Decoders/OpCodeBranchIndir.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.Shader/Decoders/OpCodeBranchIndir.cs b/Ryujinx.Graphics.Shader/Decoders/OpCodeBranchIndir.cs
index 3e694e61..b3911d6a 100644
--- a/Ryujinx.Graphics.Shader/Decoders/OpCodeBranchIndir.cs
+++ b/Ryujinx.Graphics.Shader/Decoders/OpCodeBranchIndir.cs
@@ -11,6 +11,8 @@ namespace Ryujinx.Graphics.Shader.Decoders
public int Offset { get; }
+ public new static OpCode Create(InstEmitter emitter, ulong address, long opCode) => new OpCodeBranchIndir(emitter, address, opCode);
+
public OpCodeBranchIndir(InstEmitter emitter, ulong address, long opCode) : base(emitter, address, opCode)
{
PossibleTargets = new HashSet<Block>();