FullscreenUI: Add missing settings lock acquire
This commit is contained in:
parent
e94973cd28
commit
e8a4296fd6
|
@ -3295,6 +3295,7 @@ void FullscreenUI::SwitchToGameSettings(const GameList::Entry* entry)
|
||||||
|
|
||||||
void FullscreenUI::PopulateGraphicsAdapterList()
|
void FullscreenUI::PopulateGraphicsAdapterList()
|
||||||
{
|
{
|
||||||
|
auto lock = Host::GetSettingsLock();
|
||||||
const GPURenderer renderer =
|
const GPURenderer renderer =
|
||||||
Settings::ParseRendererName(GetEffectiveTinyStringSetting(GetEditingSettingsInterface(false), "GPU", "Renderer",
|
Settings::ParseRendererName(GetEffectiveTinyStringSetting(GetEditingSettingsInterface(false), "GPU", "Renderer",
|
||||||
Settings::GetRendererName(Settings::DEFAULT_GPU_RENDERER))
|
Settings::GetRendererName(Settings::DEFAULT_GPU_RENDERER))
|
||||||
|
|
Loading…
Reference in New Issue