Mercurial > repos > blastem
changeset 2656:ec02a08196d5
Remove some debug cruft
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Mon, 03 Mar 2025 22:11:13 -0800 |
parents | f40f06c220bf |
children | d1f689ed3956 |
files | m68k_util.c |
diffstat | 1 files changed, 1 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- 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 }