Skip to content

Commit

Permalink
FullscreenUI: Add missing settings lock acquire
Browse files Browse the repository at this point in the history
  • Loading branch information
stenzek committed Jan 18, 2025
1 parent e94973c commit e8a4296
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/fullscreen_ui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit e8a4296

Please # to comment.