Merge pull request #6607 from lioncash/ppc
PPCDebugInterface: Remove redundant HostRead_U32() call in Disassemble()
This commit is contained in:
commit
0a290f5d11
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue