--- np2/io/cpuio.c 2004/01/08 16:29:56 1.9 +++ np2/io/cpuio.c 2004/01/23 15:05:05 1.10 @@ -2,8 +2,6 @@ #include "cpucore.h" #include "pccore.h" #include "iocore.h" -#include "sound.h" -#include "fmboard.h" // ---- I/O @@ -34,7 +32,7 @@ static REG8 IOINPCALL cpuio_if0(UINT por BYTE ret; - if (!(usesound & 0x80)) { + if (!(pccore.sound & 0x80)) { ret = 0x00; } else { // for AMD-98