# HG changeset patch # User nkeynes # Date 1233709024 0 # Node ID eed5089fcfdb3adc4ac82e8947c677c32be6ed05 # Parent 8514fb4bc10185a7204771eddf3aabcbf43605db Remove accidentally committed debugging code --- a/src/sh4/sh4trans.c Mon Feb 02 01:40:13 2009 +0000 +++ b/src/sh4/sh4trans.c Wed Feb 04 00:57:04 2009 +0000 @@ -27,18 +27,6 @@ #include "sh4/sh4mmio.h" #include "sh4/mmu.h" -unsigned long block_count = 0; - -static void dump_state() -{ - int i; - printf( "%08x: [%08x] ", sh4r.pc, mmu_urc % mmu_urb ); - for( i=0; i<16; i++ ) { - printf( " %08x", sh4r.r[i] ); - } - printf( "\n" ); -} - /** * Execute a timeslice using translated code only (ie translate/execute loop) */ @@ -78,12 +66,6 @@ } code = sh4_translate_basic_block( sh4r.pc ); } -// if( IS_TLB_ENABLED() ) { -// block_count++; -// if( block_count == 52048225 ) { -// dump_state(); -// } -// } code = code(); } return nanosecs;