FullscreenUI: Fix crash when toggling localized titles

This commit is contained in:
Stenzek
2025-09-03 22:00:21 +10:00
parent 76e386c2f6
commit fb1bd1e283

View File

@@ -8678,7 +8678,7 @@ void FullscreenUI::DrawGameListSettingsPage()
FSUI_VSTR("Uses localized (native language) titles in the game list."), "Main",
"FullscreenUIShowLocalizedTitles", true))
{
s_state.show_localized_titles = Host::GetBaseBoolSettingValue("Main", "FullscreenUIShowLocalizedTitles", true);
s_state.show_localized_titles = bsi->GetBoolValue("Main", "FullscreenUIShowLocalizedTitles", true);
}
if (DrawToggleSetting(
bsi, FSUI_ICONVSTR(ICON_FA_TROPHY, "Show Achievement Trophy Icons"),