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

gl: Fix IFE instruction

This fixes the rsx_fp_static_test4.ppu.elf
This commit is contained in:
raven02 2015-05-21 22:34:51 +08:00
parent d58188d7ba
commit d0c2addf91

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++;