--- np2/win9x/dialog/d_sound.cpp 2004/03/24 06:07:57 1.12 +++ np2/win9x/dialog/d_sound.cpp 2004/03/31 14:02:51 1.14 @@ -926,7 +926,7 @@ void dialog_sndopt(HWND hWnd) { HINSTANCE hinst; PROPSHEETPAGE psp; PROPSHEETHEADER psh; - HPROPSHEETPAGE hpsp[6]; // ver0.29 + HPROPSHEETPAGE hpsp[6]; hinst = (HINSTANCE)GetWindowLong(hWnd, GWL_HINSTANCE); @@ -976,6 +976,7 @@ void dialog_sndopt(HWND hWnd) { // ---- +#if defined(SUPPORT_S98) static const char s98ui_file[] = "NP2_%04d.S98"; static const char s98ui_title[] = "Save as S98 log"; static const char s98ui_ext[] = "s98"; @@ -1000,6 +1001,7 @@ void dialog_s98(HWND hWnd) { } xmenu_sets98logging(check); } +#endif // ---- @@ -1013,8 +1015,10 @@ static const FILESEL wrui = {wrui_title, void dialog_waverec(HWND hWnd) { + BYTE check; char path[MAX_PATH]; + check = FALSE; sound_recstop(); file_cpyname(path, bmpfilefolder, sizeof(path)); file_cutname(path); @@ -1023,7 +1027,9 @@ void dialog_waverec(HWND hWnd) { (sound_recstart(path) == SUCCESS)) { file_cpyname(bmpfilefolder, path, sizeof(bmpfilefolder)); sysmng_update(SYS_UPDATEOSCFG); + check = TRUE; } + xmenu_setwaverec(check); } #endif