FullscreenUI: use RegionToFlagFilename for flag textures

Signed-off-by: SternXD <stern@sidestore.io>
This commit is contained in:
SternXD 2025-11-20 19:03:49 -05:00 committed by Ty
parent 36ffe3a521
commit 65e209b0f0

View File

@ -8007,7 +8007,7 @@ void FullscreenUI::DrawGameList(const ImVec2& heading_size)
// region
{
std::string flag_texture(fmt::format("icons/flags/{}.svg", GameList::RegionToString(selected_entry->region, false)));
std::string flag_texture(fmt::format("icons/flags/{}.svg", GameList::RegionToFlagFilename(selected_entry->region)));
ImGui::TextUnformatted(FSUI_CSTR("Region: "));
ImGui::SameLine();
DrawCachedSvgTextureAsync(flag_texture, LayoutScale(23.0f, 16.0f), SvgScaling::Fit);