GekkoDisassembler: fix display of CRs in branch operations

This commit is contained in:
Fiora 2015-01-03 19:52:21 -08:00
parent c3d52e0476
commit 8a6ea918b6
1 changed files with 2 additions and 2 deletions

View File

@ -482,9 +482,9 @@ void GekkoDisassembler::bc(u32 in)
branch(in, "", (in & 2) ? 1 : 0, d);
if (in & 2) // AA ?
m_operands = StringFromFormat("->0x%.8X", d);
m_operands = StringFromFormat("%s ->0x%.8X", m_operands.c_str(), d);
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_displacement = d;