Add files via upload
This commit is contained in:
@@ -519,6 +519,7 @@ BEGIN
|
|||||||
|
|
||||||
CONTROL "Innovation SSI-2001",IDC_CHECK_SSI,"Button",
|
CONTROL "Innovation SSI-2001",IDC_CHECK_SSI,"Button",
|
||||||
BS_AUTOCHECKBOX | WS_TABSTOP,7,84,95,10
|
BS_AUTOCHECKBOX | WS_TABSTOP,7,84,95,10
|
||||||
|
PUSHBUTTON "Configure",IDC_CONFIGURE_SSI,214,82,46,12
|
||||||
|
|
||||||
CONTROL "CMS / Game Blaster",IDC_CHECK_CMS,"Button",
|
CONTROL "CMS / Game Blaster",IDC_CHECK_CMS,"Button",
|
||||||
BS_AUTOCHECKBOX | WS_TABSTOP,7,102,95,10
|
BS_AUTOCHECKBOX | WS_TABSTOP,7,102,95,10
|
||||||
|
|||||||
@@ -1380,6 +1380,7 @@ win_settings_sound_proc(HWND hdlg, UINT message, WPARAM wParam, LPARAM lParam)
|
|||||||
settings_set_check(hdlg, IDC_CHECK_GUS, temp_GUS);
|
settings_set_check(hdlg, IDC_CHECK_GUS, temp_GUS);
|
||||||
settings_enable_window(hdlg, IDC_CONFIGURE_GUS, temp_GUS);
|
settings_enable_window(hdlg, IDC_CONFIGURE_GUS, temp_GUS);
|
||||||
settings_set_check(hdlg, IDC_CHECK_SSI, temp_SSI2001);
|
settings_set_check(hdlg, IDC_CHECK_SSI, temp_SSI2001);
|
||||||
|
settings_enable_window(hdlg, IDC_CONFIGURE_SSI, temp_SSI2001);
|
||||||
settings_set_check(hdlg, IDC_CHECK_FLOAT, temp_float);
|
settings_set_check(hdlg, IDC_CHECK_FLOAT, temp_float);
|
||||||
|
|
||||||
free(lptsTemp);
|
free(lptsTemp);
|
||||||
@@ -1456,6 +1457,16 @@ win_settings_sound_proc(HWND hdlg, UINT message, WPARAM wParam, LPARAM lParam)
|
|||||||
case IDC_CONFIGURE_GUS:
|
case IDC_CONFIGURE_GUS:
|
||||||
temp_deviceconfig |= deviceconfig_open(hdlg, (void *)&gus_device);
|
temp_deviceconfig |= deviceconfig_open(hdlg, (void *)&gus_device);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case IDC_CHECK_SSI:
|
||||||
|
temp_SSI2001 = settings_get_check(hdlg, IDC_CHECK_SSI);
|
||||||
|
|
||||||
|
settings_enable_window(hdlg, IDC_CONFIGURE_SSI, temp_SSI2001);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case IDC_CONFIGURE_SSI:
|
||||||
|
temp_deviceconfig |= deviceconfig_open(hdlg, &ssi2001_device);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user