--- np2/sound/s98.h 2003/10/16 17:58:08 1.1 +++ np2/sound/s98.h 2003/12/13 19:59:41 1.3 @@ -9,11 +9,25 @@ enum { extern "C" { #endif +#if defined(DISABLE_S98) // コールすら面倒だ! + +#define S98_init() +#define S98_trash() +#define S98_open(f) (FAILURE) +#define S98_close() +#define S98_put(m, a, d) +#define S98_sync() + +#else + void S98_init(void); void S98_trash(void); BOOL S98_open(const char *filename); void S98_close(void); -void S98_put(BYTE module, BYTE addr, BYTE data); +void S98_put(REG8 module, REG8 addr, REG8 data); +void S98_sync(void); + +#endif #ifdef __cplusplus }