diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2020-10-21 09:13:44 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-21 09:13:44 -0300 |
| commit | 2f164917126ecef3a44c989e9442d2c663e58535 (patch) | |
| tree | b3a37b665bcebfe5c93108992a97fe90512f88dc /ARMeilleure/Decoders/OpCodeMemLit.cs | |
| parent | efa77a241555efa3ddfa3425919211ce6c8134a7 (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/OpCodeMemLit.cs')
| -rw-r--r-- | ARMeilleure/Decoders/OpCodeMemLit.cs | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/ARMeilleure/Decoders/OpCodeMemLit.cs b/ARMeilleure/Decoders/OpCodeMemLit.cs index b80585cb..986d6634 100644 --- a/ARMeilleure/Decoders/OpCodeMemLit.cs +++ b/ARMeilleure/Decoders/OpCodeMemLit.cs @@ -2,11 +2,13 @@ namespace ARMeilleure.Decoders { class OpCodeMemLit : OpCode, IOpCodeLit { - public int Rt { get; private set; } - public long Immediate { get; private set; } - public int Size { get; private set; } - public bool Signed { get; private set; } - public bool Prefetch { get; private set; } + public int Rt { get; } + public long Immediate { get; } + public int Size { get; } + public bool Signed { get; } + public bool Prefetch { get; } + + public new static OpCode Create(InstDescriptor inst, ulong address, int opCode) => new OpCodeMemLit(inst, address, opCode); public OpCodeMemLit(InstDescriptor inst, ulong address, int opCode) : base(inst, address, opCode) { |
