Fix ISABugger being not actually disabled on machines without ISA

This commit is contained in:
Alexander Babikov
2023-06-29 03:50:23 +05:00
parent 8782f5d9d6
commit b5ce972247
2 changed files with 8 additions and 7 deletions

View File

@@ -5415,7 +5415,7 @@ win_settings_peripherals_proc(HWND hdlg, UINT message, WPARAM wParam, LPARAM lPa
}
settings_enable_window(hdlg, IDC_CHECK_BUGGER, machine_has_bus(temp_machine, MACHINE_BUS_ISA));
settings_set_check(hdlg, IDC_CHECK_BUGGER, temp_bugger);
settings_set_check(hdlg, IDC_CHECK_BUGGER, (temp_bugger && machine_has_bus(temp_machine, MACHINE_BUS_ISA)));
settings_set_check(hdlg, IDC_CHECK_POSTCARD, temp_postcard);
free(stransi);