|
|
| version 1.3, 2004/02/13 20:31:55 | version 1.5, 2004/03/09 16:31:18 |
|---|---|
| Line 52 static const char newdisk_title[] = "Cre | Line 52 static const char newdisk_title[] = "Cre |
| #if defined(SUPPORT_SCSI) | #if defined(SUPPORT_SCSI) |
| static const char newdisk_filter[] = \ | static const char newdisk_filter[] = \ |
| "D88 image files (*.D88;*.88D)\0" \ | "D88 image files (*.D88;*.88D)\0" \ |
| "*.d88;*.88d\0" \ | "*.d88;*.88d;*.d98;*.98d\0" \ |
| "Anex86 harddisk image files (*.HDI)\0" \ | "Anex86 harddisk image files (*.HDI)\0" \ |
| "*.hdi\0" \ | "*.hdi\0" \ |
| "T98 harddisk image files (*.THD)\0" \ | "T98 harddisk image files (*.THD)\0" \ |
| Line 64 static const char newdisk_filter[] = | Line 64 static const char newdisk_filter[] = |
| #else | #else |
| static const char newdisk_filter[] = \ | static const char newdisk_filter[] = \ |
| "D88 image files (*.D88;*.88D)\0" \ | "D88 image files (*.D88;*.88D)\0" \ |
| "*.d88;*.88d\0" \ | "*.d88;*.88d;*.d98;*.98d\0" \ |
| "Anex86 harddisk image files (*.HDI)\0" \ | "Anex86 harddisk image files (*.HDI)\0" \ |
| "*.hdi\0" \ | "*.hdi\0" \ |
| "T98 harddisk image files (*.THD)\0" \ | "T98 harddisk image files (*.THD)\0" \ |
| Line 92 const char *p; | Line 92 const char *p; |
| if (dlgs_selectfile(hWnd, &fddui, path, sizeof(path), &readonly)) { | if (dlgs_selectfile(hWnd, &fddui, path, sizeof(path), &readonly)) { |
| file_cpyname(fddfolder, path, sizeof(fddfolder)); | file_cpyname(fddfolder, path, sizeof(fddfolder)); |
| sysmng_update(SYS_UPDATEOSCFG); | sysmng_update(SYS_UPDATEOSCFG); |
| diskdrv_setfdd(drv, p, readonly); | diskdrv_setfdd(drv, path, readonly); |
| } | } |
| } | } |
| } | } |
| Line 104 const char *p; | Line 104 const char *p; |
| const FILESEL *hddui; | const FILESEL *hddui; |
| char path[MAX_PATH]; | char path[MAX_PATH]; |
| num = drv & 0x0f; | |
| p = NULL; | p = NULL; |
| hddui = NULL; | hddui = NULL; |
| num = drv & 0x0f; | |
| if (!(drv & 0x20)) { // SASI/IDE | if (!(drv & 0x20)) { // SASI/IDE |
| if (num < 2) { | if (num < 2) { |
| p = np2cfg.sasihdd[num]; | p = np2cfg.sasihdd[num]; |
| Line 359 const char *ext; | Line 359 const char *ext; |
| } | } |
| } | } |
| #endif | #endif |
| else { | else if ((!file_cmpname(ext, str_d88)) || |
| (!file_cmpname(ext, str_d98)) || | |
| (!file_cmpname(ext, str_88d)) || | |
| (!file_cmpname(ext, str_98d))) { | |
| if (DialogBox(hinst, | if (DialogBox(hinst, |
| MAKEINTRESOURCE((np2cfg.usefd144)?IDD_NEWDISK2:IDD_NEWDISK), | MAKEINTRESOURCE((np2cfg.usefd144)?IDD_NEWDISK2:IDD_NEWDISK), |
| hWnd, (DLGPROC)NewdiskDlgProc) == IDOK) { | hWnd, (DLGPROC)NewdiskDlgProc) == IDOK) { |