--- np2/sound/s98.c 2003/12/13 19:59:41 1.6 +++ np2/sound/s98.c 2004/08/15 11:17:58 1.9 @@ -4,6 +4,9 @@ // #include "compiler.h" + +#if defined(SUPPORT_S98) + #include "dosio.h" #include "pccore.h" #include "iocore.h" @@ -117,7 +120,7 @@ BOOL S98_open(const char *filename) { } // 初期化 - s98log.clock = pc.realclock / 1000; + s98log.clock = pccore.realclock / 1000; s98log.p = 0; // ヘッダの保存 @@ -130,7 +133,7 @@ BOOL S98_open(const char *filename) { STOREINTELDWORD(hdr.offset, offsetof(S98HDR, title)); STOREINTELDWORD(hdr.dumpdata, sizeof(S98HDR)); for (i=0; i