mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
GekkoDisassembler: fix disassembly of mtfsf
This fixes https://dolp.in/i11411.
This commit is contained in:
parent
daed09f7f0
commit
29c271d0eb
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user