aboutsummaryrefslogtreecommitdiff
path: root/ARMeilleure/Decoders/OpCodeCsel.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 /ARMeilleure/Decoders/OpCodeCsel.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 'ARMeilleure/Decoders/OpCodeCsel.cs')
-rw-r--r--ARMeilleure/Decoders/OpCodeCsel.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/ARMeilleure/Decoders/OpCodeCsel.cs b/ARMeilleure/Decoders/OpCodeCsel.cs
index fd07e6fd..4b8dc7fd 100644
--- a/ARMeilleure/Decoders/OpCodeCsel.cs
+++ b/ARMeilleure/Decoders/OpCodeCsel.cs
@@ -2,9 +2,11 @@ namespace ARMeilleure.Decoders
{
class OpCodeCsel : OpCodeAlu, IOpCodeCond
{
- public int Rm { get; private set; }
+ public int Rm { get; }
- public Condition Cond { get; private set; }
+ public Condition Cond { get; }
+
+ public new static OpCode Create(InstDescriptor inst, ulong address, int opCode) => new OpCodeCsel(inst, address, opCode);
public OpCodeCsel(InstDescriptor inst, ulong address, int opCode) : base(inst, address, opCode)
{