aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx/Cpu/Decoder/ADecoder.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2018-02-10 14:20:46 -0300
committergdkchan <gab.dark.100@gmail.com>2018-02-10 14:20:46 -0300
commit55743c0cba7d1f3daafcedff4f9f623fdcf24b83 (patch)
tree6f2257fff3925a8887de90aebeb003be68241d8b /Ryujinx/Cpu/Decoder/ADecoder.cs
parent9f612682e0026a82f13e28b0e3b610e129ee98a5 (diff)
Only throw undefined instruction exception at execution, not at translation stage
Diffstat (limited to 'Ryujinx/Cpu/Decoder/ADecoder.cs')
-rw-r--r--Ryujinx/Cpu/Decoder/ADecoder.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx/Cpu/Decoder/ADecoder.cs b/Ryujinx/Cpu/Decoder/ADecoder.cs
index 5eb0e0dd..06a535c1 100644
--- a/Ryujinx/Cpu/Decoder/ADecoder.cs
+++ b/Ryujinx/Cpu/Decoder/ADecoder.cs
@@ -161,7 +161,7 @@ namespace ChocolArm64.Decoder
AInst Inst = AOpCodeTable.GetInst(OpCode);
- AOpCode DecodedOpCode = new AOpCode(AInst.Undefined, Position);
+ AOpCode DecodedOpCode = new AOpCode(AInst.Undefined, Position, OpCode);
if (Inst.Type != null)
{