--- np2/io/pit.h 2004/03/19 00:30:01 1.7 +++ np2/io/pit.h 2007/11/03 00:00:20 1.9 @@ -8,9 +8,15 @@ typedef struct { UINT16 latch; } _PITCH, *PITCH; +#if !defined(DISABLE_SOUND) typedef struct { _PITCH ch[5]; } _PIT, *PIT; +#else +typedef struct { + _PITCH ch[3]; +} _PIT, *PIT; +#endif enum { PIT_CTRL_BCD = 0x01, @@ -50,7 +56,7 @@ BOOL pit_setcount(PITCH pitch, REG8 valu UINT pit_getcount(PITCH pitch); REG8 pit_getstat(PITCH pitch); -void itimer_reset(void); +void itimer_reset(const NP2CFG *pConfig); void itimer_bind(void); #ifdef __cplusplus