mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 00:11:24 +12:00
Fixed condition decompilation in vertex & fragment shaders
Added 30 & 60 modes to frame limiter
This commit is contained in:
parent
5f40f732a9
commit
e1ea7a28c3
6 changed files with 8 additions and 12 deletions
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue