From 54a250778022595f965531ffc4595535126ffc13 Mon Sep 17 00:00:00 2001 From: tildearrow Date: Sun, 26 Oct 2025 02:24:51 -0500 Subject: [PATCH] GUI: fix ASIO control panel button falsely stating that there isn't a control panel --- src/gui/settings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/settings.cpp b/src/gui/settings.cpp index d13d2e3f1..9971d5f08 100644 --- a/src/gui/settings.cpp +++ b/src/gui/settings.cpp @@ -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.")); } }