diff --git a/rpcs3/Emu/RSX/Program/Assembler/FPToCFG.cpp b/rpcs3/Emu/RSX/Program/Assembler/FPToCFG.cpp index c9a16b58e2..d8de4eda0b 100644 --- a/rpcs3/Emu/RSX/Program/Assembler/FPToCFG.cpp +++ b/rpcs3/Emu/RSX/Program/Assembler/FPToCFG.cpp @@ -112,6 +112,7 @@ namespace rsx::assembler src1.HEX = decoded._u32[2]; src2.HEX = decoded._u32[3]; + end = !!dst.end; const u32 opcode = dst.opcode | (src1.opcode_is_branch << 6); if (opcode == RSX_FP_OPCODE_NOP) @@ -120,8 +121,6 @@ namespace rsx::assembler continue; } - end = !!dst.end; - bb->instructions.push_back({}); auto& ir_inst = bb->instructions.back(); std::memcpy(ir_inst.bytecode, &decoded._u32[0], 16);