--- np2/win9x/np2.cpp 2004/02/18 06:52:34 1.41 +++ np2/win9x/np2.cpp 2004/03/24 06:07:57 1.44 @@ -396,6 +396,28 @@ static void np2cmd(HWND hWnd, UINT16 cmd toolwin_setfdd(1, NULL); break; + case IDM_FDD3OPEN: + winuienter(); + dialog_changefdd(hWnd, 2); + winuileave(); + break; + + case IDM_FDD3EJECT: + diskdrv_setfdd(2, NULL, 0); + toolwin_setfdd(2, NULL); + break; + + case IDM_FDD4OPEN: + winuienter(); + dialog_changefdd(hWnd, 3); + winuileave(); + break; + + case IDM_FDD4EJECT: + diskdrv_setfdd(3, NULL, 0); + toolwin_setfdd(3, NULL); + break; + case IDM_SASI1OPEN: winuienter(); dialog_changehdd(hWnd, 0x00); @@ -757,7 +779,13 @@ static void np2cmd(HWND hWnd, UINT16 cmd dialog_s98(hWnd); winuileave(); break; - +#if defined(SUPPORT_WAVEREC) + case IDM_WAVEREC: + winuienter(); + dialog_waverec(hWnd); + winuileave(); + break; +#endif case IDM_DISPCLOCK: xmenu_setdispclk(np2oscfg.DISPCLK ^ 1); update |= SYS_UPDATECFG; @@ -1349,7 +1377,7 @@ int WINAPI WinMain(HINSTANCE hInstance, np2oscfg.KEYBOARD = KEY_KEY106; } } - keystat_reset(); + keystat_initialize(); np2class_initialize(hInstance); if (!hPreInst) {