--- np2/io/upd4990.c 2003/12/08 00:55:32 1.3 +++ np2/io/upd4990.c 2007/11/03 00:00:20 1.5 @@ -29,6 +29,7 @@ static void IOOUTCALL upd4990_o20(UINT p case 0x01: // register shift uPD4990.regsft = 1; uPD4990.pos = (UPD4990_REGLEN * 8) - 1; + uPD4990.cdat = uPD4990.reg[UPD4990_REGLEN - 1] & 1; break; case 0x02: // time set / counter hold @@ -94,9 +95,11 @@ static void IOOUTCALL upd4990_o20(UINT p static const IOOUT updo20[1] = {upd4990_o20}; -void uPD4990_reset(void) { +void uPD4990_reset(const NP2CFG *pConfig) { ZeroMemory(&uPD4990, sizeof(uPD4990)); + + (void)pConfig; } void uPD4990_bind(void) {