|
|
| version 1.3, 2003/10/28 16:44:44 | version 1.4, 2003/10/28 19:17:29 |
|---|---|
| Line 14 | Line 14 |
| #include "macnewdisk.h" | #include "macnewdisk.h" |
| #include "scrnbmp.h" | #include "scrnbmp.h" |
| #include "dosio.h" | #include "dosio.h" |
| #include "menu.h" | |
| #include "s98.h" | |
| static Handle GetDlgItem(DialogPtr hWnd, short pos) { | static Handle GetDlgItem(DialogPtr hWnd, short pos) { |
| Line 244 void dialog_writebmp(void) { | Line 246 void dialog_writebmp(void) { |
| _MFREE(bmp); | _MFREE(bmp); |
| } | } |
| } | } |
| void dialog_s98(void) { | |
| static BOOL check = FALSE; | |
| char fname[MAX_PATH]; | |
| FSSpec fsc; | |
| S98_close(); | |
| if (check) { | |
| check = FALSE; | |
| } | |
| else if (saveFile('.S98', "S98 log.s98", &fsc)) { | |
| fsspec2path(&fsc, fname, MAX_PATH); | |
| if (S98_open(fname) == SUCCESS) { | |
| check = TRUE; | |
| } | |
| } | |
| menu_sets98logging(check); | |
| } |