--- np2/win9xc/np2.cpp 2004/03/31 11:59:18 1.28 +++ np2/win9xc/np2.cpp 2005/02/07 14:46:15 1.31 @@ -69,7 +69,7 @@ static UINT waitcnt = 0; static UINT framemax = 1; static int np2opening = 1; static int np2quitmsg = 0; -static BYTE scrnmode; +static UINT8 scrnmode; static const char np2help[] = "np2.chm"; @@ -88,10 +88,10 @@ static void winuileave(void) { soundmng_enable(SNDPROC_MAIN); } -static void changescreen(BYTE newmode) { +static void changescreen(UINT8 newmode) { - BYTE change; - BYTE renewal; + UINT8 change; + UINT8 renewal; change = scrnmode ^ newmode; renewal = (change & SCRNMODE_FULLSCREEN); @@ -552,13 +552,20 @@ static void np2cmd(HWND hWnd, UINT16 cmd dialog_writebmp(hWnd); winuileave(); break; - +#if defined(SUPPPORT_S98) case IDM_S98LOGGING: winuienter(); dialog_s98(hWnd); winuileave(); break; - +#endif +#if defined(SUPPORT_WAVEREC) + case IDM_WAVEREC: + winuienter(); + dialog_waverec(hWnd); + winuileave(); + break; +#endif case IDM_CALENDAR: winuienter(); DialogBox(hInst, MAKEINTRESOURCE(IDD_CALENDAR), @@ -819,6 +826,7 @@ static void framereset(void) { framecnt = 0; sysmng_updatecaption(); memdbg_process(); + skbdwin_process(); } static void processwait(UINT cnt) {