Merge pull request #1827 from FioraAeterna/fixcrdisasm

GekkoDisassembler: fix display of CRs in branch operations
This commit is contained in:
Pierre Bourdon 2015-01-04 05:00:31 +01:00
commit 4cbb690378
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;