--- np2/cbus/cs4231io.c 2004/03/29 14:19:25 1.7 +++ np2/cbus/cs4231io.c 2005/02/07 14:46:08 1.9 @@ -111,6 +111,12 @@ void IOOUTCALL cs4231io_w8(UINT port, RE dmac_detach(DMADEV_CS4231); if (cs4231.dmach != 0xff) { dmac_attach(DMADEV_CS4231, cs4231.dmach); +#if 0 + if (cs4231.sdc_enable) { + dmac.dmach[cs4231.dmach].ready = 1; + dmac_check(); + } +#endif } break; @@ -145,7 +151,7 @@ REG8 IOINPCALL cs4231io_r8(UINT port) { return(cs4231.index & 0x7f); case 5: - return(*(((BYTE *)(&cs4231.reg)) + (cs4231.index & 0x1f))); + return(*(((UINT8 *)(&cs4231.reg)) + (cs4231.index & 0x1f))); case 6: return(cs4231.intflag);