From 19776aef6da17a49e95e1bc924b26bcf49713c75 Mon Sep 17 00:00:00 2001 From: notaz Date: Mon, 24 Oct 2011 23:13:09 +0300 Subject: drc: some debug code improvements --- libpcsxcore/new_dynarec/assem_arm.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 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 9440bb8..3a86dba 100644 --- a/libpcsxcore/new_dynarec/assem_arm.c +++ b/libpcsxcore/new_dynarec/assem_arm.c @@ -4499,6 +4499,7 @@ static void c2op_assemble(int i,struct regstat *i_regs) int shift = (source[i] >> 19) & 1; int lm = (source[i] >> 10) & 1; switch(c2op) { +#ifndef DRC_DBG case GTE_MVMVA: { int v = (source[i] >> 15) & 3; int cv = (source[i] >> 13) & 3; @@ -4577,11 +4578,13 @@ static void c2op_assemble(int i,struct regstat *i_regs) c2op_prologue(c2op,reglist); c2op_call_rgb_func(shift?gteGPL_part_shift:gteGPL_part_noshift,lm,need_ir,need_flags); break; - +#endif default: c2op_prologue(c2op,reglist); - //emit_movimm(source[i],1); // opcode - //emit_writeword(1,(int)&psxRegs.code); +#ifdef DRC_DBG + emit_movimm(source[i],1); // opcode + emit_writeword(1,(int)&psxRegs.code); +#endif emit_call((int)(need_flags?gte_handlers[c2op]:gte_handlers_nf[c2op])); break; } -- cgit v1.2.3