diff options
Diffstat (limited to 'ARMeilleure/Decoders')
| -rw-r--r-- | ARMeilleure/Decoders/InstDescriptor.cs | 2 | ||||
| -rw-r--r-- | ARMeilleure/Decoders/OpCodeTable.cs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ARMeilleure/Decoders/InstDescriptor.cs b/ARMeilleure/Decoders/InstDescriptor.cs index 29966d6d..577ff394 100644 --- a/ARMeilleure/Decoders/InstDescriptor.cs +++ b/ARMeilleure/Decoders/InstDescriptor.cs @@ -2,7 +2,7 @@ using ARMeilleure.Instructions; namespace ARMeilleure.Decoders { - struct InstDescriptor + readonly struct InstDescriptor { public static InstDescriptor Undefined => new InstDescriptor(InstName.Und, InstEmit.Und); diff --git a/ARMeilleure/Decoders/OpCodeTable.cs b/ARMeilleure/Decoders/OpCodeTable.cs index f44c1540..caa93099 100644 --- a/ARMeilleure/Decoders/OpCodeTable.cs +++ b/ARMeilleure/Decoders/OpCodeTable.cs @@ -11,7 +11,7 @@ namespace ARMeilleure.Decoders private const int FastLookupSize = 0x1000; - private struct InstInfo + private readonly struct InstInfo { public int Mask { get; } public int Value { get; } |
