mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-09 16:14:06 +00:00
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)";
|
return "(No RAM here)";
|
||||||
}
|
}
|
||||||
|
|
||||||
u32 op = PowerPC::HostRead_Instruction(address);
|
const u32 op = PowerPC::HostRead_Instruction(address);
|
||||||
std::string disasm = GekkoDisassembler::Disassemble(op, address);
|
std::string disasm = GekkoDisassembler::Disassemble(op, address);
|
||||||
|
const UGeckoInstruction inst{op};
|
||||||
UGeckoInstruction inst;
|
|
||||||
inst.hex = PowerPC::HostRead_U32(address);
|
|
||||||
|
|
||||||
if (inst.OPCD == 1)
|
if (inst.OPCD == 1)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user