Improved RSX emulation

- Fixed NV4097_SET_SHADER_CONTROL
- Vertex Shader: SCA instructions don't override VEC result
This commit is contained in:
DH 2014-07-19 12:24:15 +03:00
parent bd04990af3
commit 7433a021db
4 changed files with 9 additions and 12 deletions

View file

@ -41,7 +41,7 @@ std::string GLVertexDecompilerThread::GetDST(bool isSca)
{
std::string ret;
switch(d3.dst)
switch(isSca ? 0x1f : d3.dst)
{
case 0x1f:
ret += m_parr.AddParam(PARAM_NONE, "vec4", std::string("tmp") + std::to_string(isSca ? d3.sca_dst_tmp : d0.dst_tmp));