Diff for /np2/sound/adpcmg.c between versions 1.5 and 1.6

version 1.5, 2004/02/06 17:10:32 version 1.6, 2005/02/07 14:46:12
Line 23  REG8 SOUNDCALL adpcm_readsample(ADPCM ad Line 23  REG8 SOUNDCALL adpcm_readsample(ADPCM ad
                         pos += 8;                          pos += 8;
                 }                  }
                 else {                  else {
                         const BYTE *ptr;                          const UINT8 *ptr;
                         REG8 bit;                          REG8 bit;
                         UINT tmp;                          UINT tmp;
                         ptr = ad->buf + ((pos >> 3) & 0x7fff);                          ptr = ad->buf + ((pos >> 3) & 0x7fff);
Line 68  void SOUNDCALL adpcm_datawrite(ADPCM ad, Line 68  void SOUNDCALL adpcm_datawrite(ADPCM ad,
                 pos += 8;                  pos += 8;
         }          }
         else {          else {
                 BYTE *ptr;                  UINT8 *ptr;
                 UINT8 bit;                  UINT8 bit;
                 UINT8 mask;                  UINT8 mask;
                 ptr = ad->buf + ((pos >> 3) & 0x7fff);                  ptr = ad->buf + ((pos >> 3) & 0x7fff);
Line 135  static void SOUNDCALL getadpcmdata(ADPCM Line 135  static void SOUNDCALL getadpcmdata(ADPCM
                 pos += ADPCM_NBR + 4;                  pos += ADPCM_NBR + 4;
         }          }
         else {          else {
                 const BYTE *ptr;                  const UINT8 *ptr;
                 REG8 bit;                  REG8 bit;
                 UINT tmp;                  UINT tmp;
                 ptr = ad->buf + ((pos >> 3) & 0x7fff);                  ptr = ad->buf + ((pos >> 3) & 0x7fff);

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


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