--- np2/sdl/np2.c 2003/11/21 06:51:12 1.1 +++ np2/sdl/np2.c 2004/02/18 06:52:34 1.5 @@ -20,13 +20,13 @@ #include "s98.h" #include "diskdrv.h" #include "timing.h" -#include "statsave.h" +#include "keystat.h" #include "vramhdl.h" #include "menubase.h" #include "sysmenu.h" - NP2OSCFG np2oscfg = {0, 2, 0, 0}; + NP2OSCFG np2oscfg = {0, 0, 0, 0, 0}; static UINT framecnt; static UINT waitcnt; static UINT framemax = 1; @@ -82,11 +82,11 @@ static int flagload(const char *ext, con getstatfilename(path, ext, sizeof(path)); id = DID_YES; ret = statsave_check(path, buf, sizeof(buf)); - if (ret & (~NP2FLAG_DISKCHG)) { + if (ret & (~STATFLAG_DISKCHG)) { menumbox("Couldn't restart", title, MBOX_OK | MBOX_ICONSTOP); id = DID_NO; } - else if ((!force) && (ret & NP2FLAG_DISKCHG)) { + else if ((!force) && (ret & STATFLAG_DISKCHG)) { SPRINTF(buf2, "Conflict!\n\n%s\nContinue?", buf); id = menumbox(buf2, title, MBOX_YESNOCAN | MBOX_ICONQUESTION); }