mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
Enable adapter combo on emulation state change only if adapters are supported by current backend
This commit is contained in:
parent
674a66aab2
commit
df0ff7f3bb
1 changed files with 2 additions and 1 deletions
|
@ -187,7 +187,8 @@ void GeneralWidget::OnEmulationStateChanged(bool running)
|
||||||
m_backend_combo->setEnabled(!running);
|
m_backend_combo->setEnabled(!running);
|
||||||
m_render_main_window->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()
|
void GeneralWidget::AddDescriptions()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue