From 3b8323853f4eeddb61398e77c51bb2349f430227 Mon Sep 17 00:00:00 2001 From: João Silva Date: Sat, 14 Jan 2017 23:08:50 +0000 Subject: Removed a LOT of useless stuff. --- source/apumem.h | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'source/apumem.h') diff --git a/source/apumem.h b/source/apumem.h index 661fdf7..c86b8c0 100644 --- a/source/apumem.h +++ b/source/apumem.h @@ -121,22 +121,6 @@ INLINE void S9xAPUSetByte(uint8_t byte, uint32_t Address) } else { -#if 0 - if (Address >= 0x2500 && Address <= 0x2504) - printf("%06d %04x <- %02x\n", ICPU.Scanline, Address, byte); - if (Address == 0x26c6) - { - extern FILE* apu_trace; - extern FILE* trace; - APU.Flags |= TRACE_FLAG; - CPU.Flags |= TRACE_FLAG; - if (apu_trace == NULL) - apu_trace = fopen("aputrace.log", "wb"); - if (trace == NULL) - trace = fopen("trace.log", "wb"); - printf("TRACING SWITCHED ON\n"); - } -#endif if (Address < 0xffc0) IAPU.RAM [Address] = byte; else -- cgit v1.2.3