--- np2/sound/adpcmc.c 2003/10/20 06:36:33 1.2 +++ np2/sound/adpcmc.c 2003/12/08 00:55:33 1.3 @@ -46,7 +46,7 @@ void adpcm_update(ADPCM ad) { ad->level = (ad->reg.level * adpcmcfg.vol) >> 4; } -void adpcm_setreg(ADPCM ad, BYTE reg, BYTE value) { +void adpcm_setreg(ADPCM ad, REG8 reg, REG8 value) { UINT32 addr; @@ -115,7 +115,7 @@ void adpcm_setreg(ADPCM ad, BYTE reg, BY } } -BYTE adpcm_status(ADPCM ad) { +REG8 adpcm_status(ADPCM ad) { return(((ad->status | 8) & ad->mask) | ad->play); }