From 0ff8c62ced8c9a920ac208c6d965b138c5c124dd Mon Sep 17 00:00:00 2001 From: notaz Date: Sun, 23 Oct 2011 04:17:42 +0300 Subject: drc: add some hack options intended for caanoo/Wiz, some users want to trade glitches for performance boost. --- libpcsxcore/new_dynarec/assem_arm.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'libpcsxcore/new_dynarec/assem_arm.c') diff --git a/libpcsxcore/new_dynarec/assem_arm.c b/libpcsxcore/new_dynarec/assem_arm.c index 6b663e5..9440bb8 100644 --- a/libpcsxcore/new_dynarec/assem_arm.c +++ b/libpcsxcore/new_dynarec/assem_arm.c @@ -4494,10 +4494,8 @@ static void c2op_assemble(int i,struct regstat *i_regs) need_ir=(gte_unneeded[i+1]&0xe00)!=0xe00; assem_debug("gte unneeded %016llx, need_flags %d, need_ir %d\n", gte_unneeded[i+1],need_flags,need_ir); -#ifdef ARMv5_ONLY - // let's take more risk here - need_flags=need_flags&>e_reads_flags; -#endif + if(new_dynarec_hacks&NDHACK_GTE_NO_FLAGS) + need_flags=0; int shift = (source[i] >> 19) & 1; int lm = (source[i] >> 10) & 1; switch(c2op) { -- cgit v1.2.3