PPU LLVM: Fixup MTFSF
This commit is contained in:
@@ -4653,7 +4653,7 @@ void PPUTranslator::MTFSF(ppu_opcode_t op)
|
|||||||
|
|
||||||
for (u32 i = 16; i < 20; i++)
|
for (u32 i = 16; i < 20; i++)
|
||||||
{
|
{
|
||||||
if (op.flm & (128 >> (i / 4)) != 0)
|
if ((op.flm & (128 >> (i / 4))) != 0)
|
||||||
{
|
{
|
||||||
SetFPSCRBit(i, Trunc(m_ir->CreateLShr(value, i ^ 31), GetType<bool>()), false);
|
SetFPSCRBit(i, Trunc(m_ir->CreateLShr(value, i ^ 31), GetType<bool>()), false);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user