--- np2/sound/soundrom.c 2003/12/04 13:54:29 1.5 +++ np2/sound/soundrom.c 2003/12/12 01:04:41 1.7 @@ -1,7 +1,7 @@ #include "compiler.h" #include "dosio.h" +#include "cpucore.h" #include "pccore.h" -#include "memory.h" #include "soundrom.h" @@ -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);