diff --git a/core/cd_hw/cdc.c b/core/cd_hw/cdc.c index 4036c49a..7af5ed35 100644 --- a/core/cd_hw/cdc.c +++ b/core/cd_hw/cdc.c @@ -643,7 +643,7 @@ unsigned char cdc_reg_r(void) /* clear pending decoder interrupt */ cdc.ifstat |= BIT_DECI; - + #if 0 /* no pending data transfer end interrupt */ if ((cdc.ifstat | BIT_DTEI) || !(cdc.ifctrl & BIT_DTEIEN)) diff --git a/core/cd_hw/gfx.c b/core/cd_hw/gfx.c index 811995cc..9c4d68df 100644 --- a/core/cd_hw/gfx.c +++ b/core/cd_hw/gfx.c @@ -47,10 +47,10 @@ void word_ram_0_dma_w(unsigned int words) /* CDC buffer source address */ uint16 src_index = cdc.dac.w & 0x3ffe; - + /* WORD-RAM destination address*/ uint32 dst_index = (scd.regs[0x0a>>1].w << 3) & 0x1fffe; - + /* update DMA destination address */ scd.regs[0x0a>>1].w += (words >> 2); @@ -80,10 +80,10 @@ void word_ram_1_dma_w(unsigned int words) /* CDC buffer source address */ uint16 src_index = cdc.dac.w & 0x3ffe; - + /* WORD-RAM destination address*/ uint32 dst_index = ((scd.regs[0x0a>>1].w << 3) & 0x1fffe); - + /* update DMA destination address */ scd.regs[0x0a>>1].w += (words >> 2); @@ -113,10 +113,10 @@ void word_ram_2M_dma_w(unsigned int words) /* CDC buffer source address */ uint16 src_index = cdc.dac.w & 0x3ffe; - + /* WORD-RAM destination address*/ uint32 dst_index = (scd.regs[0x0a>>1].w << 3) & 0x3fffe; - + /* update DMA destination address */ scd.regs[0x0a>>1].w += (words >> 2);