Merge pull request #11101 from Pokechu22/backend-multithreading-enabled

DolphinQt: Only enable the backend multithreading checkbox if the backend supports it
This commit is contained in:
Admiral H. Curtiss 2022-09-28 21:57:37 +02:00 committed by GitHub
commit 32bdc54869
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -197,6 +197,7 @@ void AdvancedWidget::SaveSettings()
void AdvancedWidget::OnBackendChanged()
{
m_backend_multithreading->setEnabled(g_Config.backend_info.bSupportsMultithreading);
}
void AdvancedWidget::OnEmulationStateChanged(bool running)

View file

@ -66,7 +66,7 @@ void VideoBackend::FillBackendInfo()
g_Config.backend_info.bSupportsReversedDepthRange = false;
g_Config.backend_info.bSupportsComputeShaders = true;
g_Config.backend_info.bSupportsLogicOp = true;
g_Config.backend_info.bSupportsMultithreading = true;
g_Config.backend_info.bSupportsMultithreading = false;
g_Config.backend_info.bSupportsGPUTextureDecoding = true;
g_Config.backend_info.bSupportsST3CTextures = false;
g_Config.backend_info.bSupportsCopyToVram = true;