Skip to content

Commit

Permalink
GekkoDisassembler: fix disassembly of mtfsf
Browse files Browse the repository at this point in the history
  • Loading branch information
Tilka committed Oct 7, 2018
1 parent daed09f commit 29c271d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Source/Core/Common/GekkoDisassembler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down

0 comments on commit 29c271d

Please sign in to comment.