Merge pull request #60 from elisha464/master

fragmentDecompiler fix
This commit is contained in:
DHrpcs3 2014-01-31 23:30:22 -08:00
commit 16c284214f
1 changed files with 5 additions and 0 deletions

View File

@ -133,6 +133,11 @@ std::string GLFragmentDecompilerThread::AddCond(int fp16)
std::string GLFragmentDecompilerThread::AddConst()
{
if(m_parr.HasParam(PARAM_UNIFORM, "vec4", std::string("fc") + std::to_string(m_size + 4 * 4)))
{
return std::string("fc") + std::to_string(m_size + 4 * 4);
}
mem32_ptr_t data(m_addr + m_size + m_offset);
m_offset += 4 * 4;