From d9136afc4a89ad26663e18afd61683dd9dae523f Mon Sep 17 00:00:00 2001 From: Oxore Date: Sat, 20 May 2023 15:33:04 +0300 Subject: Impl marks referencing for MOVEM --- main.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'main.cpp') diff --git a/main.cpp b/main.cpp index 6beac4e..3a4e34a 100644 --- a/main.cpp +++ b/main.cpp @@ -67,6 +67,8 @@ DisasmNode *DisasmMap::insertTracedNode(const uint32_t offset, const TracedNodeT // instruction, then it must become an instruction node. if (type == TracedNodeType::kInstruction && node->type != TracedNodeType::kInstruction) { *const_cast(&node->type) = type; + // Make sure it is OpCode::kNone so it will be properly disassembled + node->op = Op{}; } return node; } -- cgit v1.2.3