Diff for /np2/sound/rhythmc.c between versions 1.4 and 1.6

version 1.4, 2003/12/04 09:47:08 version 1.6, 2003/12/08 00:55:33
Line 37  static BOOL pcmload(RHYTHMPCM *pcm, cons Line 37  static BOOL pcmload(RHYTHMPCM *pcm, cons
         UINT            pos;          UINT            pos;
         BYTE            work[256];          BYTE            work[256];
   
         file_cpyname(path, np2cfg.biospath, sizeof(path));          getbiospath(path, fname, sizeof(path));
         file_catname(path, fname, sizeof(path));  
         fh = file_open_rb(path);          fh = file_open_rb(path);
         if (fh == FILEH_INVALID) {          if (fh == FILEH_INVALID) {
                 goto pld_err1;                  goto pld_err1;
Line 173  void rhythm_update(RHYTHM rhy) { Line 172  void rhythm_update(RHYTHM rhy) {
         } while(++r < rterm);          } while(++r < rterm);
 }  }
   
 void rhythm_setreg(RHYTHM rhy, BYTE reg, BYTE value) {  void rhythm_setreg(RHYTHM rhy, REG8 reg, REG8 value) {
   
         RHYTHMCH        *r;          RHYTHMCH        *r;
         BYTE            bit;          REG8            bit;
         int                     i;          int                     i;
   
         if (reg == 0x10) {          if (reg == 0x10) {

Removed from v.1.4  
changed lines
  Added in v.1.6


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