Skip to content

Commit

Permalink
Merge pull request #2444 from lioncash/disasm
Browse files Browse the repository at this point in the history
GekkoDisassembler: Fix disassembly of mtfsf's FM field.
  • Loading branch information
lioncash committed May 24, 2015
2 parents 9ab9688 + 88e1850 commit a6e5fd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/Common/GekkoDisassembler.cpp
Expand Up @@ -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
{
Expand Down

0 comments on commit a6e5fd1

Please sign in to comment.