Merge pull request #7469 from Tilka/mtfsf

GekkoDisassembler: fix mtfsf yet again
This commit is contained in:
Tilka 2018-10-08 02:52:18 +01:00 committed by GitHub
commit feaa466edc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2242,7 +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", (in >> 17) & 0xff, regnames[PPCGETB(in)]);
m_operands = StringFromFormat("0x%x, f%u", (in >> 17) & 0xff, PPCGETB(in));
}
else
{