1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 18:53:28 +01:00

Merge pull request #7 from raven02/patch-3

gl: Fix IFE instruction
This commit is contained in:
vlj 2015-05-21 17:31:18 +02:00
commit e2748c319e

View File

@ -524,7 +524,8 @@ void GLFragmentDecompilerThread::Task()
case RSX_FP_OPCODE_FENCB: forced_unit = FORCE_SCB; break;
case RSX_FP_OPCODE_IFE:
AddCode("if($cond)");
m_else_offsets.push_back(src1.else_offset << 2);
if (src2.end_offset != src1.else_offset)
m_else_offsets.push_back(src1.else_offset << 2);
m_end_offsets.push_back(src2.end_offset << 2);
AddCode("{");
m_code_level++;