--- np2/io/printif.c 2004/01/13 05:30:58 1.6 +++ np2/io/printif.c 2007/11/03 00:00:20 1.8 @@ -29,7 +29,7 @@ static REG8 IOINPCALL prt_i42(UINT port) REG8 ret; ret = 0x84; - if (pccore.cpumode & CPUMODE_8MHz) { + if (pccore.cpumode & CPUMODE_8MHZ) { ret |= 0x20; } if (np2cfg.dipsw[0] & 4) { @@ -61,10 +61,12 @@ static const IOOUT prto40[4] = { static const IOINP prti40[4] = { NULL, prt_i42, NULL, NULL}; -void printif_reset(void) { +void printif_reset(const NP2CFG *pConfig) { commng_destroy(cm_prt); cm_prt = NULL; + + (void)pConfig; } void printif_bind(void) {