GUI: fix ASIO control panel button

falsely stating that there isn't a control panel
This commit is contained in:
tildearrow 2025-10-26 02:24:51 -05:00
parent 99c6cbffa6
commit 54a2507780

View file

@ -1350,7 +1350,7 @@ void FurnaceGUI::drawSettings() {
if (settings.audioEngine==DIV_AUDIO_ASIO) {
ImGui::SameLine();
if (ImGui::Button(_("Control panel"))) {
if (e->audioBackendCommand(TA_AUDIO_CMD_SETUP)!=2) {
if (e->audioBackendCommand(TA_AUDIO_CMD_SETUP)!=1) {
showError(_("this driver doesn't have a control panel."));
}
}