mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-15 16:59:18 +01:00
GekkoDisassembler: fix display of CRs in branch operations
This commit is contained in:
parent
c3d52e0476
commit
8a6ea918b6
@ -482,9 +482,9 @@ void GekkoDisassembler::bc(u32 in)
|
|||||||
branch(in, "", (in & 2) ? 1 : 0, d);
|
branch(in, "", (in & 2) ? 1 : 0, d);
|
||||||
|
|
||||||
if (in & 2) // AA ?
|
if (in & 2) // AA ?
|
||||||
m_operands = StringFromFormat("->0x%.8X", d);
|
m_operands = StringFromFormat("%s ->0x%.8X", m_operands.c_str(), d);
|
||||||
else
|
else
|
||||||
m_operands = StringFromFormat("->0x%.8X", *m_iaddr + d);
|
m_operands = StringFromFormat("%s ->0x%.8X", m_operands.c_str(), *m_iaddr + d);
|
||||||
|
|
||||||
m_type = PPCINSTR_BRANCH;
|
m_type = PPCINSTR_BRANCH;
|
||||||
m_displacement = d;
|
m_displacement = d;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user