GUI: fix ASIO control panel button
falsely stating that there isn't a control panel
This commit is contained in:
parent
99c6cbffa6
commit
54a2507780
1 changed files with 1 additions and 1 deletions
|
|
@ -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."));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue