Fixed condition decompilation in vertex & fragment shaders

Added 30 & 60 modes to frame limiter
This commit is contained in:
DHrpcs3 2014-12-22 01:10:22 +02:00
parent 5f40f732a9
commit e1ea7a28c3
6 changed files with 8 additions and 12 deletions

View file

@ -165,7 +165,7 @@ void GLVertexDecompilerThread::SetDST(bool is_sca, std::string value)
//code += dest + value;
//AddCode(code + ";");
AddCodeCond(dest, value);
AddCodeCond(Format(dest), value);
}
std::string GLVertexDecompilerThread::GetFunc()
@ -454,7 +454,7 @@ std::string GLVertexDecompilerThread::BuildCode()
std::string fp;
for (int i = m_funcs.size() - 1; i>0; --i)
for (int i = m_funcs.size() - 1; i > 0; --i)
{
fp += fmt::Format("void %s();\n", m_funcs[i].name.c_str());
}