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