Merge pull request #7465 from Tilka/mtfsf_disasm

GekkoDisassembler: fix disassembly of mtfsf
This commit is contained in:
Mat M 2018-10-07 20:53:55 -04:00 committed by GitHub
commit 74fd95c4c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -2242,8 +2242,7 @@ u32* GekkoDisassembler::DoDisassembly(bool big_endian)
if ((in & 0x02010000) == 0)
{
m_opcode = StringFromFormat("mtfsf%s", rcsel[in & 1]);
m_operands = StringFromFormat("0x%x,%u", (unsigned int)(in >> 17) & 0x01fe,
(unsigned int)PPCGETB(in));
m_operands = StringFromFormat("0x%x,%u", (in >> 17) & 0xff, regnames[PPCGETB(in)]);
}
else
{