From 5101bc189e3cd13c2904a269dcb9d58236257ce4 Mon Sep 17 00:00:00 2001 From: rxys Date: Sun, 19 Apr 2020 20:17:19 +0200 Subject: [PATCH] Fix FMA copypasta (#8060) --- rpcs3/Emu/Cell/PPUTranslator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/Cell/PPUTranslator.cpp b/rpcs3/Emu/Cell/PPUTranslator.cpp index 44a3972442..5b64f6f2f8 100644 --- a/rpcs3/Emu/Cell/PPUTranslator.cpp +++ b/rpcs3/Emu/Cell/PPUTranslator.cpp @@ -4279,7 +4279,7 @@ void PPUTranslator::FMADD(ppu_opcode_t op) } else { - result = m_ir->CreateFSub(m_ir->CreateFMul(a, c), b); + result = m_ir->CreateFAdd(m_ir->CreateFMul(a, c), b); } SetFpr(op.frd, result);