diff --git a/rpcs3/Emu/Cell/PPUTranslator.cpp b/rpcs3/Emu/Cell/PPUTranslator.cpp index 5b64f6f2f8..b2a291c36f 100644 --- a/rpcs3/Emu/Cell/PPUTranslator.cpp +++ b/rpcs3/Emu/Cell/PPUTranslator.cpp @@ -3966,7 +3966,7 @@ void PPUTranslator::FNMSUBS(ppu_opcode_t op) result = m_ir->CreateFSub(m_ir->CreateFMul(a, c), b); } - SetFpr(op.frd, m_ir->CreateFNeg(m_ir->CreateFPTrunc(result, GetType()))); + SetFpr(op.frd, m_ir->CreateFPTrunc(m_ir->CreateFNeg(result), GetType())); //SetFPSCR_FR(Call(GetType(), m_pure_attr, "__fmadds_get_fr", a, b, c)); // TODO ??? //SetFPSCR_FI(Call(GetType(), m_pure_attr, "__fmadds_get_fi", a, b, c)); @@ -3994,7 +3994,7 @@ void PPUTranslator::FNMADDS(ppu_opcode_t op) result = m_ir->CreateFAdd(m_ir->CreateFMul(a, c), b); } - SetFpr(op.frd, m_ir->CreateFNeg(m_ir->CreateFPTrunc(result, GetType()))); + SetFpr(op.frd, m_ir->CreateFPTrunc(m_ir->CreateFNeg(result), GetType())); //SetFPSCR_FR(Call(GetType(), m_pure_attr, "__fmadds_get_fr", a, b, c)); // TODO ??? //SetFPSCR_FI(Call(GetType(), m_pure_attr, "__fmadds_get_fi", a, b, c));