--- np2/sound/soundrom.c 2003/12/04 06:41:23 1.3 +++ np2/sound/soundrom.c 2003/12/08 00:55:33 1.6 @@ -1,6 +1,6 @@ #include "compiler.h" #include "dosio.h" -#include "bios.h" +#include "pccore.h" #include "memory.h" #include "soundrom.h" @@ -26,7 +26,7 @@ static BOOL loadsoundrom(UINT address, c file_catname(romname, name, sizeof(romname)); } file_catname(romname, file_extrom, sizeof(romname)); - bios_getpath(path, romname, sizeof(path)); + getbiospath(path, romname, sizeof(path)); fh = file_open_rb(path); if (fh == FILEH_INVALID) { goto lsr_err; @@ -67,7 +67,7 @@ void soundrom_load(UINT32 address, const soundrom.address = address; } -void soundrom_loadex(BYTE sw, const char *primary) { +void soundrom_loadex(UINT sw, const char *primary) { if (sw < 4) { soundrom_load((0xc8000 + ((UINT32)sw << 14)), primary);