|
|
| version 1.3, 2003/11/12 20:02:54 | version 1.4, 2003/12/08 00:55:33 |
|---|---|
| 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; |
| } | } |