From 5fdcbb5abad30d464a6a90c15e25128a0580ac79 Mon Sep 17 00:00:00 2001 From: notaz Date: Thu, 25 Dec 2014 20:27:43 +0200 Subject: [PATCH] drc: more timing hacks b6e87b2bc096 broke R-Type sound, try to recover.. also check PE2 --- 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 8d1e53ac..5120df05 100644 --- a/libpcsxcore/new_dynarec/new_dynarec.c +++ b/libpcsxcore/new_dynarec/new_dynarec.c @@ -9885,6 +9885,10 @@ int new_recompile_block(int addr) { cc+=2; // 2 cycle penalty (after CLOCK_DIVIDER) } + else if(i>1&&itype[i]==STORE&&itype[i-1]==STORE&&itype[i-2]==STORE&&!bt[i]) + { + cc+=4; + } else if(itype[i]==C2LS) { cc+=4; -- 2.39.2