|
|
| version 1.13, 2003/10/23 12:58:44 | version 1.14, 2003/10/23 21:00:24 |
|---|---|
| Line 28 | Line 28 |
| #include "statsave.h" | #include "statsave.h" |
| #include "mousemng.h" | #include "mousemng.h" |
| #include "configure.h" | #include "configure.h" |
| #include "screenopt.h" | |
| #define USE_RESUME | #define USE_RESUME |
| NP2OSCFG np2oscfg = {0, 2, 0, 0, 0, 0}; | NP2OSCFG np2oscfg = {0, 2, 0, 0, 0, 0, 1, 0}; |
| WindowPtr hWndMain; | WindowPtr hWndMain; |
| BOOL np2running; | BOOL np2running; |
| Line 255 static void HandleMenuChoice(long wParam | Line 256 static void HandleMenuChoice(long wParam |
| break; | break; |
| #if defined(NP2GCC) | #if defined(NP2GCC) |
| case IDM_SCREENOPT: | |
| initScreenOpt(); | |
| break; | |
| case IDM_MOUSE: | case IDM_MOUSE: |
| mouse_running(MOUSE_XOR); | mouse_running(MOUSE_XOR); |
| menu_setmouse(np2oscfg.MOUSE_SW ^ 1); | menu_setmouse(np2oscfg.MOUSE_SW ^ 1); |
| Line 656 int main(int argc, char *argv[]) { | Line 661 int main(int argc, char *argv[]) { |
| pccore_reset(); | pccore_reset(); |
| #if defined(USE_RESUME) | #if defined(USE_RESUME) |
| flagload(np2resume); | if (np2oscfg.resume) { |
| flagload(np2resume); | |
| } | |
| #endif | #endif |
| #if 0 | #if 0 |
| Line 756 int main(int argc, char *argv[]) { | Line 763 int main(int argc, char *argv[]) { |
| pccore_cfgupdate(); | pccore_cfgupdate(); |
| #if defined(USE_RESUME) | #if defined(USE_RESUME) |
| flagsave(np2resume); | if (np2oscfg.resume) { |
| flagsave(np2resume); | |
| } | |
| #endif | #endif |
| pccore_term(); | pccore_term(); |