Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #11101 from Pokechu22/backend-multithreading-enabled
DolphinQt: Only enable the backend multithreading checkbox if the backend supports it
  • Loading branch information
AdmiralCurtiss committed Sep 28, 2022
2 parents 4de70f1 + 94a77bc commit 32bdc54
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Source/Core/DolphinQt/Config/Graphics/AdvancedWidget.cpp
Expand Up @@ -197,6 +197,7 @@ void AdvancedWidget::SaveSettings()

void AdvancedWidget::OnBackendChanged()
{
m_backend_multithreading->setEnabled(g_Config.backend_info.bSupportsMultithreading);
}

void AdvancedWidget::OnEmulationStateChanged(bool running)
Expand Down
2 changes: 1 addition & 1 deletion Source/Core/VideoBackends/D3D12/VideoBackend.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 32bdc54

Please sign in to comment.