From 9b9fb6d32c78f772ef04eeab35a755444e826756 Mon Sep 17 00:00:00 2001 From: notaz Date: Tue, 25 Feb 2025 01:28:47 +0200 Subject: [PATCH] drc: forgot to set may_except otherwise unneeded_reg[] thing breaks, can be seen with Config.PreciseExceptions enabled in some games --- libpcsxcore/new_dynarec/new_dynarec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libpcsxcore/new_dynarec/new_dynarec.c b/libpcsxcore/new_dynarec/new_dynarec.c index 453ceb31..0e08aa50 100644 --- a/libpcsxcore/new_dynarec/new_dynarec.c +++ b/libpcsxcore/new_dynarec/new_dynarec.c @@ -6667,7 +6667,7 @@ static void force_intcall(int i) memset(&dops[i], 0, sizeof(dops[i])); dops[i].itype = INTCALL; dops[i].rs1 = CCREG; - dops[i].is_exception = 1; + dops[i].is_exception = dops[i].may_except = 1; cinfo[i].ba = -1; } -- 2.39.5