Regression fix #1

This commit is contained in:
raven02 2014-07-18 23:03:39 +08:00
parent a7971b55ee
commit 4856066a81
1 changed files with 9 additions and 9 deletions

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)