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