Add brackets

This commit is contained in:
Angie 2024-05-12 22:00:52 -04:00
parent 27130d749f
commit 488450111b

View file

@ -643,8 +643,9 @@ bool process_instruction(const RecompPort::Context& context, const RecompPort::C
[[fallthrough]]; [[fallthrough]];
case InstrId::cpu_bgezal: case InstrId::cpu_bgezal:
print_indent(); print_indent();
print_branch_condition("if (SIGNED({}{}) >= 0)", ctx_gpr_prefix(rs), rs); print_branch_condition("if (SIGNED({}{}) >= 0) {{", ctx_gpr_prefix(rs), rs);
print_func_call(instr.getBranchVramGeneric()); print_func_call(instr.getBranchVramGeneric());
print_line("}}");
break; break;
// Cop1 loads/stores // Cop1 loads/stores