|
|
| version 1.33, 2004/03/15 01:53:01 | version 1.35, 2004/05/21 14:30:32 |
|---|---|
| Line 53 static BYTE scrnmode; | Line 53 static BYTE scrnmode; |
| #endif | #endif |
| static char target[MAX_PATH] = DEFAULTPATH; | static char target[MAX_PATH] = DEFAULTPATH; |
| #if !defined(SUPPORT_PC9821) | |
| static const char np2app[] = "np2"; | |
| #else | |
| static const char np2app[] = "np21"; | |
| #endif | |
| static const char np2resume[] = "sav"; | static const char np2resume[] = "sav"; |
| Line 123 static void MenuBarInit(void) { | Line 128 static void MenuBarInit(void) { |
| if (!np2oscfg.I286SAVE) { | if (!np2oscfg.I286SAVE) { |
| hmenu = GetMenuHandle(IDM_OTHER); | hmenu = GetMenuHandle(IDM_OTHER); |
| if (hmenu) { | if (hmenu) { |
| DeleteMenuItem(hmenu, 10); | DeleteMenuItem(hmenu, 9); |
| } | } |
| } | } |
| InsertMenu(GetMenu(IDM_SASI1), -1); | InsertMenu(GetMenu(IDM_SASI1), -1); |
| Line 745 static void processwait(UINT waitcnt) { | Line 750 static void processwait(UINT waitcnt) { |
| static void getstatfilename(char *path, const char *ext, int size) { | static void getstatfilename(char *path, const char *ext, int size) { |
| file_cpyname(path, file_getcd("np2"), size); | file_cpyname(path, file_getcd(np2app), size); |
| file_catname(path, str_dot, size); | file_catname(path, str_dot, size); |
| file_catname(path, ext, size); | file_catname(path, ext, size); |
| } | } |
| Line 811 int main(int argc, char *argv[]) { | Line 816 int main(int argc, char *argv[]) { |
| keystat_initialize(); | keystat_initialize(); |
| SetRect(&wRect, np2oscfg.posx, np2oscfg.posy, 100, 100); | SetRect(&wRect, np2oscfg.posx, np2oscfg.posy, 100, 100); |
| #if !defined(SUPPORT_PC9821) | |
| hWndMain = NewWindow(0, &wRect, "\pNeko Project II", FALSE, | hWndMain = NewWindow(0, &wRect, "\pNeko Project II", FALSE, |
| noGrowDocProc, (WindowPtr)-1, TRUE, 0); | noGrowDocProc, (WindowPtr)-1, TRUE, 0); |
| #else | |
| hWndMain = NewWindow(0, &wRect, "\pNeko Project 21", FALSE, | |
| noGrowDocProc, (WindowPtr)-1, TRUE, 0); | |
| #endif | |
| if (!hWndMain) { | if (!hWndMain) { |
| TRACETERM(); | TRACETERM(); |
| macossub_term(); | macossub_term(); |