|
|
| version 1.40, 2004/02/18 03:24:48 | version 1.43, 2004/03/07 07:51:26 |
|---|---|
| Line 276 static int flagload(const char *ext, con | Line 276 static int flagload(const char *ext, con |
| winuienter(); | winuienter(); |
| id = IDYES; | id = IDYES; |
| ret = statsave_check(path, buf, sizeof(buf)); | ret = statsave_check(path, buf, sizeof(buf)); |
| if (ret & (~NP2FLAG_DISKCHG)) { | if (ret & (~STATFLAG_DISKCHG)) { |
| MessageBox(hWndMain, "Couldn't restart", title, MB_OK | MB_ICONSTOP); | MessageBox(hWndMain, "Couldn't restart", title, MB_OK | MB_ICONSTOP); |
| id = IDNO; | id = IDNO; |
| } | } |
| else if ((!force) && (ret & NP2FLAG_DISKCHG)) { | else if ((!force) && (ret & STATFLAG_DISKCHG)) { |
| char buf2[1024 + 256]; | char buf2[1024 + 256]; |
| wsprintf(buf2, "Conflict!\n\n%s\nContinue?", buf); | wsprintf(buf2, "Conflict!\n\n%s\nContinue?", buf); |
| id = MessageBox(hWndMain, buf2, title, | id = MessageBox(hWndMain, buf2, title, |
| Line 396 static void np2cmd(HWND hWnd, UINT16 cmd | Line 396 static void np2cmd(HWND hWnd, UINT16 cmd |
| toolwin_setfdd(1, NULL); | toolwin_setfdd(1, NULL); |
| break; | break; |
| case IDM_FDD3OPEN: | |
| winuienter(); | |
| dialog_changefdd(hWnd, 2); | |
| winuileave(); | |
| break; | |
| case IDM_FDD3EJECT: | |
| diskdrv_setfdd(2, NULL, 0); | |
| toolwin_setfdd(2, NULL); | |
| break; | |
| case IDM_FDD4OPEN: | |
| winuienter(); | |
| dialog_changefdd(hWnd, 3); | |
| winuileave(); | |
| break; | |
| case IDM_FDD4EJECT: | |
| diskdrv_setfdd(3, NULL, 0); | |
| toolwin_setfdd(3, NULL); | |
| break; | |
| case IDM_SASI1OPEN: | case IDM_SASI1OPEN: |
| winuienter(); | winuienter(); |
| dialog_changehdd(hWnd, 0x00); | dialog_changehdd(hWnd, 0x00); |
| Line 1349 int WINAPI WinMain(HINSTANCE hInstance, | Line 1371 int WINAPI WinMain(HINSTANCE hInstance, |
| np2oscfg.KEYBOARD = KEY_KEY106; | np2oscfg.KEYBOARD = KEY_KEY106; |
| } | } |
| } | } |
| keystat_reset(); | keystat_initialize(); |
| np2class_initialize(hInstance); | np2class_initialize(hInstance); |
| if (!hPreInst) { | if (!hPreInst) { |