diff --git a/Source/Core/Core/Debugger/PPCDebugInterface.cpp b/Source/Core/Core/Debugger/PPCDebugInterface.cpp index 42694a09fe..e202f2a536 100644 --- a/Source/Core/Core/Debugger/PPCDebugInterface.cpp +++ b/Source/Core/Core/Debugger/PPCDebugInterface.cpp @@ -28,11 +28,9 @@ std::string PPCDebugInterface::Disassemble(unsigned int address) return "(No RAM here)"; } - u32 op = PowerPC::HostRead_Instruction(address); + const u32 op = PowerPC::HostRead_Instruction(address); std::string disasm = GekkoDisassembler::Disassemble(op, address); - - UGeckoInstruction inst; - inst.hex = PowerPC::HostRead_U32(address); + const UGeckoInstruction inst{op}; if (inst.OPCD == 1) {