--- np2/sound/rhythmc.c 2003/12/04 06:41:23 1.3 +++ np2/sound/rhythmc.c 2003/12/08 00:55:33 1.6 @@ -2,7 +2,7 @@ #include #include "wavefile.h" #include "dosio.h" -#include "bios.h" +#include "pccore.h" #include "sound.h" #include "rhythm.h" @@ -37,7 +37,7 @@ static BOOL pcmload(RHYTHMPCM *pcm, cons UINT pos; BYTE work[256]; - bios_getpath(path, fname, sizeof(path)); + getbiospath(path, fname, sizeof(path)); fh = file_open_rb(path); if (fh == FILEH_INVALID) { goto pld_err1; @@ -172,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) {