From 07a366b608bb7f0baded005b7918c1570139e367 Mon Sep 17 00:00:00 2001 From: O1L Date: Mon, 23 Jan 2017 21:45:37 +0300 Subject: [PATCH] VP decompiler: fixed condition update flags using --- rpcs3/Emu/RSX/Common/VertexProgramDecompiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/RSX/Common/VertexProgramDecompiler.cpp b/rpcs3/Emu/RSX/Common/VertexProgramDecompiler.cpp index 7ad14c3c70..f073f6e1e3 100644 --- a/rpcs3/Emu/RSX/Common/VertexProgramDecompiler.cpp +++ b/rpcs3/Emu/RSX/Common/VertexProgramDecompiler.cpp @@ -151,7 +151,7 @@ void VertexProgramDecompiler::SetDST(bool is_sca, std::string value) std::string dest; - if (d0.cond_update_enable_0 && d0.cond_update_enable_1) + if (d0.cond_update_enable_0 || d0.cond_update_enable_1) { dest = m_parr.AddParam(PF_PARAM_NONE, getFloatTypeName(4), "cc" + std::to_string(d0.cond_reg_sel_1), getFloatTypeName(4) + "(0., 0., 0., 0.)") + mask; }