Merge pull request #577 from raven02/patch-3

Regression fix #1
This commit is contained in:
DHrpcs3 2014-07-18 19:44:31 +03:00
commit 1cfd2c4475

View file

@ -251,10 +251,10 @@ std::string GLFragmentDecompilerThread::BuildCode()
static const std::pair<std::string, std::string> table[] =
{
{ "ocol0", m_ctrl & 0x40 ? "r0" : "h0" },
{ "ocol1", m_ctrl & 0x40 ? "r1" : "h2" },
{ "ocol2", m_ctrl & 0x40 ? "r2" : "h4" },
{ "ocol3", m_ctrl & 0x40 ? "r3" : "h6" },
{ "ocol4", m_ctrl & 0x40 ? "r4" : "h8" },
{ "ocol1", m_ctrl & 0x40 ? "r2" : "h2" },
{ "ocol2", m_ctrl & 0x40 ? "r3" : "h4" },
{ "ocol3", m_ctrl & 0x40 ? "r4" : "h6" },
{ "ocol4", m_ctrl & 0x40 ? "r5" : "h8" },
};
for (int i = 0; i < sizeof(table) / sizeof(*table); ++i)