drc: some debug improvements

This commit is contained in:
notaz 2013-07-28 18:24:20 +03:00
parent 1555935b8a
commit 405dfdd77f
3 changed files with 86 additions and 16 deletions

View file

@ -46,8 +46,6 @@
#define MAX_LITERALS (BLOCK_INSN_LIMIT / 4)
#define MAX_LOCAL_BRANCHES 32
static int literal_disabled_frames;
// debug stuff
// 1 - warnings/errors
// 2 - block info/smc
@ -129,6 +127,8 @@ enum op_types {
#ifdef DRC_SH2
static int literal_disabled_frames;
#if (DRC_DEBUG & 4)
static u8 *tcache_dsm_ptrs[3];
static char sh2dasm_buff[64];