Skip to content
Permalink
Browse files

Enable adapter combo on emulation state change only if adapters are s…

…upported by current backend
  • Loading branch information...
CookiePLMonster committed Aug 20, 2019
1 parent 674a66a commit df0ff7f3bb7644aa90c5a1740a59720be5d29258
Showing with 2 additions and 1 deletion.
  1. +2 −1 Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp
@@ -187,7 +187,8 @@ void GeneralWidget::OnEmulationStateChanged(bool running)
m_backend_combo->setEnabled(!running);
m_render_main_window->setEnabled(!running);

m_adapter_combo->setEnabled(!running);
const bool supports_adapters = !g_Config.backend_info.Adapters.empty();
m_adapter_combo->setEnabled(!running && supports_adapters);
}

void GeneralWidget::AddDescriptions()

0 comments on commit df0ff7f

Please sign in to comment.
You can’t perform that action at this time.