--- np2/cbus/pc9861k.h 2004/01/30 01:56:01 1.4 +++ np2/cbus/pc9861k.h 2004/01/30 14:33:27 1.5 @@ -23,15 +23,19 @@ typedef struct { UINT8 irq; } _PC9861CH, *PC9861CH; +typedef struct { + _PC9861CH ch1; + _PC9861CH ch2; + BOOL en; +} _PC9861K, *PC9861K; + #ifdef __cplusplus extern "C" { #endif -extern _PC9861CH pc9861ch1; -extern _PC9861CH pc9861ch2; extern const UINT32 pc9861k_speed[11]; - +extern _PC9861K pc9861k; void pc9861ch1cb(NEVENTITEM item); void pc9861ch2cb(NEVENTITEM item);