FullscreenUI: Add missing settings lock acquire

This commit is contained in:
Stenzek 2025-01-18 13:22:37 +10:00
parent e94973cd28
commit e8a4296fd6
No known key found for this signature in database
1 changed files with 1 additions and 0 deletions

View File

@ -3295,6 +3295,7 @@ void FullscreenUI::SwitchToGameSettings(const GameList::Entry* entry)
void FullscreenUI::PopulateGraphicsAdapterList()
{
auto lock = Host::GetSettingsLock();
const GPURenderer renderer =
Settings::ParseRendererName(GetEffectiveTinyStringSetting(GetEditingSettingsInterface(false), "GPU", "Renderer",
Settings::GetRendererName(Settings::DEFAULT_GPU_RENDERER))