|
|
| version 1.3, 2003/11/12 20:02:54 | version 1.5, 2005/02/07 14:46:12 |
|---|---|
| Line 34 void tms3631_initialize(UINT rate) { | Line 34 void tms3631_initialize(UINT rate) { |
| tms3631cfg.ratesft = sft; | tms3631cfg.ratesft = sft; |
| } | } |
| void tms3631_setvol(const BYTE *vol) { | void tms3631_setvol(const UINT8 *vol) { |
| UINT i; | UINT i; |
| UINT j; | UINT j; |
| Line 60 void tms3631_reset(TMS3631 tms) { | Line 60 void tms3631_reset(TMS3631 tms) { |
| ZeroMemory(tms, sizeof(_TMS3631)); | 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; | 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; | tms->enable = enable; |
| } | } |