ppu: Remove redundant checks on MTFSF

Closes #11176
This commit is contained in:
Ani 2025-04-08 06:43:43 +02:00 committed by Megamouse
parent 58714d8c68
commit 16036e0419

View file

@ -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 (i != 1 && i != 2 && (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);
} }