mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-08 13:43:33 +01:00
Merge pull request #2444 from lioncash/disasm
GekkoDisassembler: Fix disassembly of mtfsf's FM field.
This commit is contained in:
commit
a6e5fd1e27
@ -2204,7 +2204,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 & 0x01fe) >> 17, (int)PPCGETB(in));
|
||||
m_operands = StringFromFormat("0x%x,%u", (unsigned int)(in >> 17) & 0x01fe, (unsigned int)PPCGETB(in));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user