GekkoDisassembler: Fix typecast for the second printf param for mtfsf
This commit is contained in:
parent
612118e8e5
commit
88e1850231
|
@ -2204,7 +2204,7 @@ u32* GekkoDisassembler::DoDisassembly(bool big_endian)
|
||||||
if ((in & 0x02010000) == 0)
|
if ((in & 0x02010000) == 0)
|
||||||
{
|
{
|
||||||
m_opcode = StringFromFormat("mtfsf%s", rcsel[in & 1]);
|
m_opcode = StringFromFormat("mtfsf%s", rcsel[in & 1]);
|
||||||
m_operands = StringFromFormat("0x%x,%u", (unsigned int)(in >> 17) & 0x01fe, (int)PPCGETB(in));
|
m_operands = StringFromFormat("0x%x,%u", (unsigned int)(in >> 17) & 0x01fe, (unsigned int)PPCGETB(in));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue