From 4a7dfadb0fe5a0611d71f3194f85d8acf64d62a9 Mon Sep 17 00:00:00 2001 From: gdkchan Date: Thu, 28 Mar 2019 22:33:26 -0300 Subject: [PATCH] Fix -- There's no negation on FMUL32I --- Ryujinx.Graphics/Shader/Instructions/InstEmitFArith.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ryujinx.Graphics/Shader/Instructions/InstEmitFArith.cs b/Ryujinx.Graphics/Shader/Instructions/InstEmitFArith.cs index e2f99e8358..410b86761d 100644 --- a/Ryujinx.Graphics/Shader/Instructions/InstEmitFArith.cs +++ b/Ryujinx.Graphics/Shader/Instructions/InstEmitFArith.cs @@ -87,7 +87,7 @@ namespace Ryujinx.Graphics.Shader.Instructions { IOpCodeFArith op = (IOpCodeFArith)context.CurrOp; - bool negateB = op.RawOpCode.Extract(48); + bool negateB = !(op is OpCodeFArithImm32) && op.RawOpCode.Extract(48); Operand srcA = GetSrcA(context);