Browse Source

Set Undefined instruction emitter for Undefined property on InstDescriptor (#957)

gdkchan 6 years ago
parent
commit
6204f0e47a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ARMeilleure/Decoders/InstDescriptor.cs

+ 1 - 1
ARMeilleure/Decoders/InstDescriptor.cs

@@ -4,7 +4,7 @@ namespace ARMeilleure.Decoders
 {
 {
     struct InstDescriptor
     struct InstDescriptor
     {
     {
-        public static InstDescriptor Undefined => new InstDescriptor(InstName.Und, null);
+        public static InstDescriptor Undefined => new InstDescriptor(InstName.Und, InstEmit.Und);
 
 
         public InstName    Name    { get; }
         public InstName    Name    { get; }
         public InstEmitter Emitter { get; }
         public InstEmitter Emitter { get; }