# HG changeset patch # User Michael Pavone # Date 1741068673 28800 # Node ID ec02a08196d515309bea3c8080a4546f10b85e40 # Parent f40f06c220bf09e485d3ff5836d6c1af24ffa6b4 Remove some debug cruft diff -r f40f06c220bf -r ec02a08196d5 m68k_util.c --- a/m68k_util.c Sun Mar 02 23:44:41 2025 -0800 +++ b/m68k_util.c Mon Mar 03 22:11:13 2025 -0800 @@ -8,9 +8,7 @@ #endif context->scratch1 = read_byte(context->scratch1, (void**)context->mem_pointers, &context->opts->gen, context); #ifdef DEBUG_DISASM - if (context->pc >= 0x3F48 && context->pc < 0x3FCE) { - printf("Read.b %05X: %02X\n", tmp, context->scratch1); - } + printf("Read.b %05X: %02X\n", tmp, context->scratch1); #endif } @@ -30,7 +28,6 @@ #endif context->scratch1 = read_word(context->scratch1, (void**)context->mem_pointers, &context->opts->gen, context); #ifdef DEBUG_DISASM - if (context->pc >= 0x3F48 && context->pc < 0x3FCE) { if (tmp == context->pc) { m68kinst inst; m68k_decode(debug_disasm_fetch, context, &inst, tmp); @@ -43,7 +40,6 @@ } else { printf("Read %05X: %04X\n", tmp, context->scratch1); } - } #endif } @@ -52,9 +48,7 @@ context->cycles += 4 * context->opts->gen.clock_divider; write_byte(context->scratch2, context->scratch1, (void**)context->mem_pointers, &context->opts->gen, context); #ifdef DEBUG_DISASM - if (context->pc >= 0x3F48 && context->pc < 0x3FCE) { printf("Write.b %05X: %02X\n", context->scratch2, context->scratch1); - } #endif } @@ -72,9 +66,7 @@ context->cycles += 4 * context->opts->gen.clock_divider; write_word(context->scratch2, context->scratch1, (void**)context->mem_pointers, &context->opts->gen, context); #ifdef DEBUG_DISASM - if (context->pc >= 0x3F48 && context->pc < 0x3FCE) { printf("Write %05X: %04X\n", context->scratch2, context->scratch1); - } #endif }