--- np2/sound/tms3631c.c 2003/11/12 20:02:54 1.3 +++ np2/sound/tms3631c.c 2005/02/07 14:46:12 1.5 @@ -34,7 +34,7 @@ void tms3631_initialize(UINT rate) { tms3631cfg.ratesft = sft; } -void tms3631_setvol(const BYTE *vol) { +void tms3631_setvol(const UINT8 *vol) { UINT i; UINT j; @@ -60,12 +60,12 @@ void tms3631_reset(TMS3631 tms) { ZeroMemory(tms, sizeof(_TMS3631)); } -void tms3631_setkey(TMS3631 tms, BYTE ch, BYTE key) { +void tms3631_setkey(TMS3631 tms, REG8 ch, REG8 key) { tms->ch[ch & 7].freq = tms3631_freqtbl[key & 0x3f] >> tms3631cfg.ratesft; } -void tms3631_setenable(TMS3631 tms, BYTE enable) { +void tms3631_setenable(TMS3631 tms, REG8 enable) { tms->enable = enable; }