Diff for /np2/sound/tms3631c.c between versions 1.3 and 1.5

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;
 }  }

Removed from v.1.3  
changed lines
  Added in v.1.5


RetroPC.NET-CVS <cvs@retropc.net>