1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 18:53:28 +01:00

VP decompiler: fixed condition update flags using

This commit is contained in:
O1L 2017-01-23 21:45:37 +03:00 committed by Ivan
parent d07ea31400
commit 07a366b608

View File

@ -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;
}