From a550c61c2bad6706ecd46003cdb7b43760d02b03 Mon Sep 17 00:00:00 2001 From: notaz Date: Fri, 28 Jan 2022 00:02:09 +0200 Subject: [PATCH] drc: clear dirty flag when deallocating a reg In later stages it may place special regs like AGEN there, and things like AGEN being marked dirty seemed wrong, although probably harmless as there is no code to writeback AGEN. --- libpcsxcore/new_dynarec/new_dynarec.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libpcsxcore/new_dynarec/new_dynarec.c b/libpcsxcore/new_dynarec/new_dynarec.c index de444483..1b2479b8 100644 --- a/libpcsxcore/new_dynarec/new_dynarec.c +++ b/libpcsxcore/new_dynarec/new_dynarec.c @@ -8508,6 +8508,8 @@ int new_recompile_block(u_int addr) { regs[i].regmap[hr]=-1; regs[i].isconst&=~(1<