# HG changeset patch # User Michael Pavone # Date 1485244923 28800 # Node ID 8dc50e50ced6b1ad2a17ad5feb1869bbf0d582b0 # Parent f99650ff8e97a6bf28ae0d34f7f9f8ebc22e7d7c Remove accidentally committed debug logging diff -r f99650ff8e97 -r 8dc50e50ced6 vdp.c --- a/vdp.c Sun Jan 22 19:43:04 2017 -0800 +++ b/vdp.c Tue Jan 24 00:02:03 2017 -0800 @@ -2432,8 +2432,8 @@ context->flags |= FLAG_DMA_RUN; context->dma_cd = context->cd; //printf("DMA start (length: %X) at cycle %d, frame: %d, vcounter: %d, hslot: %d\n", (context->regs[REG_DMALEN_H] << 8) | context->regs[REG_DMALEN_L], context->cycles, context->frame, context->vcounter, context->hslot); - if (!(context->regs[REG_DMASRC_H] & 0x80) && ((context->cd & 0xF) == CRAM_WRITE)) { - printf("DMA Address: %X, New CD: %X, Source: %X, Length: %X\n", context->address, context->cd, (context->regs[REG_DMASRC_H] << 17) | (context->regs[REG_DMASRC_M] << 9) | (context->regs[REG_DMASRC_L] << 1), context->regs[REG_DMALEN_H] << 8 | context->regs[REG_DMALEN_L]); + if (!(context->regs[REG_DMASRC_H] & 0x80)) { + //printf("DMA Address: %X, New CD: %X, Source: %X, Length: %X\n", context->address, context->cd, (context->regs[REG_DMASRC_H] << 17) | (context->regs[REG_DMASRC_M] << 9) | (context->regs[REG_DMASRC_L] << 1), context->regs[REG_DMALEN_H] << 8 | context->regs[REG_DMALEN_L]); return 1; } else { //printf("DMA Copy Address: %X, New CD: %X, Source: %X\n", context->address, context->cd, (context->regs[REG_DMASRC_M] << 8) | context->regs[REG_DMASRC_L]);