|
|
| version 1.17, 2004/08/12 18:22:54 | version 1.19, 2004/08/13 06:49:31 |
|---|---|
| Line 101 static void winuileave(void) { | Line 101 static void winuileave(void) { |
| static void dispbmp(HINSTANCE hinst, HDC hdc, | static void dispbmp(HINSTANCE hinst, HDC hdc, |
| const OEMCHAR *res, int x, int y) { | const OEMCHAR *res, int x, int y) { |
| HBITMAP hbmp; | HBITMAP hbmp; |
| BITMAP bmp; | BITMAP bmp; |
| HDC hmdc; | HDC hmdc; |
| hbmp = LoadBitmap(hinst, res); | hbmp = LoadBitmap(hinst, res); |
| GetObject(hbmp, sizeof(bmp), &bmp); | GetObject(hbmp, sizeof(bmp), &bmp); |
| Line 117 static void dispbmp(HINSTANCE hinst, HDC | Line 117 static void dispbmp(HINSTANCE hinst, HDC |
| // ---- | // ---- |
| #if defined(SUPPORT_RESUME) || defined(SUPPORT_STATSAVE) | #if defined(SUPPORT_RESUME) |
| static const OEMCHAR xmilresumeext[] = OEMTEXT(".sav"); | static const OEMCHAR xmilresumeext[] = OEMTEXT(".sav"); |
| static const OEMCHAR str_resume[] = OEMTEXT("Resume"); | |
| #endif | #endif |
| #if defined(SUPPORT_STATSAVE) | #if defined(SUPPORT_STATSAVE) |
| static const OEMCHAR xmilflagext[] = OEMTEXT(".sv%u"); | static const OEMCHAR xmilflagext[] = OEMTEXT(".sv%u"); |
| Line 126 static const OEMCHAR str_statload[] = OE | Line 127 static const OEMCHAR str_statload[] = OE |
| #endif | #endif |
| #if defined(SUPPORT_RESUME) || defined(SUPPORT_STATSAVE) | #if defined(SUPPORT_RESUME) || defined(SUPPORT_STATSAVE) |
| static const OEMCHAR str_loaderr[] = OEMTEXT("Couldn't restart"); | static const OEMCHAR str_loaderr[] = OEMTEXT("Couldn't restart"); |
| static const OEMCHAR str_conflict[] = OEMTEXT("Conflict!\n\n%s\nContinue?"); | static const OEMCHAR str_conflict[] = OEMTEXT("Conflict!\n\n%s\nContinue?"); |
| Line 160 static void flagdelete(const OEMCHAR *ex | Line 160 static void flagdelete(const OEMCHAR *ex |
| file_delete(path); | file_delete(path); |
| } | } |
| static int flagload(const OEMCHAR *ext, const OEMCHAR *title, BOOL force) { | static int flagload(const OEMCHAR *ext, const OEMCHAR *title, BRESULT force) { |
| int ret; | int ret; |
| int id; | int id; |
| Line 199 static int flagload(const OEMCHAR *ext, | Line 199 static int flagload(const OEMCHAR *ext, |
| static void xmilcmd(HWND hWnd, UINT cmd) { | static void xmilcmd(HWND hWnd, UINT cmd) { |
| UINT update; | UINT update; |
| #if defined(SUPPORT_STATSAVE) | |
| OEMCHAR ext[16]; | OEMCHAR ext[16]; |
| #endif | |
| update = 0; | update = 0; |
| switch(cmd) { | switch(cmd) { |
| Line 248 static void xmilcmd(HWND hWnd, UINT cmd) | Line 250 static void xmilcmd(HWND hWnd, UINT cmd) |
| diskdrv_setfdd(1, NULL, 0); | diskdrv_setfdd(1, NULL, 0); |
| break; | break; |
| case IDM_FDD2OPEN: | |
| winuienter(); | |
| dialog_changefdd(hWnd, 2); | |
| winuileave(); | |
| break; | |
| case IDM_FDD2EJECT: | |
| diskdrv_setfdd(2, NULL, 0); | |
| break; | |
| case IDM_FDD3OPEN: | |
| winuienter(); | |
| dialog_changefdd(hWnd, 3); | |
| winuileave(); | |
| break; | |
| case IDM_FDD3EJECT: | |
| diskdrv_setfdd(3, NULL, 0); | |
| break; | |
| case IDM_TURBOZ: | case IDM_TURBOZ: |
| menu_setiplrom(3); | menu_setiplrom(3); |
| update = SYS_UPDATECFG; | update = SYS_UPDATECFG; |