|
|
| version 1.36, 2004/01/24 18:20:06 | version 1.37, 2004/02/03 08:24:40 |
|---|---|
| Line 25 | Line 25 |
| #include "sstpmsg.h" | #include "sstpmsg.h" |
| #include "dclock.h" | #include "dclock.h" |
| #include "toolwin.h" | #include "toolwin.h" |
| #ifdef USE_ROMEO | |
| #include "juliet.h" | #include "juliet.h" |
| #endif | |
| #include "np2class.h" | #include "np2class.h" |
| #include "dialog.h" | #include "dialog.h" |
| #include "memory.h" | #include "memory.h" |
| Line 71 static char szClassName[] = "NP2-MainWi | Line 69 static char szClassName[] = "NP2-MainWi |
| {0, 0, 0x3e, 19200, "", "", "", ""}, // ver0.34 | {0, 0, 0x3e, 19200, "", "", "", ""}, // ver0.34 |
| {0, 0, 0x3e, 19200, "", "", "", ""}, // ver0.34 | {0, 0, 0x3e, 19200, "", "", "", ""}, // ver0.34 |
| 0xffffff, 0xffbf6a, 0, 0, | 0xffffff, 0xffbf6a, 0, 0, |
| 0, 1, 0, 9801, 0, 0, 0, 0, 0, 0, 0, 0, 0}; // ver0.73 | 0, 1, 0, 9801, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; |
| char fddfolder[MAX_PATH]; | char fddfolder[MAX_PATH]; |
| char hddfolder[MAX_PATH]; | char hddfolder[MAX_PATH]; |
| Line 340 static void np2cmd(HWND hWnd, UINT16 cmd | Line 338 static void np2cmd(HWND hWnd, UINT16 cmd |
| } | } |
| if (b) { | if (b) { |
| sstpmsg_reset(); | sstpmsg_reset(); |
| juliet_YMF288Reset(); | |
| pccore_cfgupdate(); | pccore_cfgupdate(); |
| pccore_reset(); | pccore_reset(); |
| } | } |
| Line 1207 LRESULT CALLBACK WndProc(HWND hWnd, UINT | Line 1206 LRESULT CALLBACK WndProc(HWND hWnd, UINT |
| break; | break; |
| case NP2CMD_RESET: | case NP2CMD_RESET: |
| juliet_YMF288Reset(); | |
| pccore_cfgupdate(); | pccore_cfgupdate(); |
| pccore_reset(); | pccore_reset(); |
| break; | break; |
| Line 1442 int WINAPI WinMain(HINSTANCE hInstance, | Line 1442 int WINAPI WinMain(HINSTANCE hInstance, |
| soundmng_pcmvolume(SOUND_PCMSEEK1, np2cfg.MOTORVOL); | soundmng_pcmvolume(SOUND_PCMSEEK1, np2cfg.MOTORVOL); |
| } | } |
| #ifdef USE_ROMEO | if (np2oscfg.useromeo) { |
| juliet_load(); | juliet_initialize(); |
| juliet_prepare(); | } |
| #endif | |
| mousemng_initialize(); | mousemng_initialize(); |
| if (np2oscfg.MOUSE_SW) { // ver0.30 | if (np2oscfg.MOUSE_SW) { // ver0.30 |
| Line 1616 int WINAPI WinMain(HINSTANCE hInstance, | Line 1615 int WINAPI WinMain(HINSTANCE hInstance, |
| flagdelete(str_sav); | flagdelete(str_sav); |
| } | } |
| #ifdef USE_ROMEO | |
| juliet_YMF288Reset(); | juliet_YMF288Reset(); |
| #endif | |
| pccore_term(); | pccore_term(); |
| sstp_destruct(); | sstp_destruct(); |
| #ifdef USE_ROMEO | juliet_deinitialize(); |
| juliet_unload(); | |
| #endif | |
| soundmng_deinitialize(); | soundmng_deinitialize(); |
| scrnmng_destroy(); | scrnmng_destroy(); |