Skip to content

Commit 8bed770

Browse files
committed
FullscreenUI: use RegionToFlagFilename for flag textures
Signed-off-by: SternXD <[email protected]>
1 parent 216240f commit 8bed770

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pcsx2/ImGui/FullscreenUI.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7979,7 +7979,7 @@ void FullscreenUI::DrawGameList(const ImVec2& heading_size)
79797979

79807980
// region
79817981
{
7982-
std::string flag_texture(fmt::format("icons/flags/{}.svg", GameList::RegionToString(selected_entry->region, false)));
7982+
std::string flag_texture(fmt::format("icons/flags/{}.svg", GameList::RegionToFlagFilename(selected_entry->region)));
79837983
ImGui::TextUnformatted(FSUI_CSTR("Region: "));
79847984
ImGui::SameLine();
79857985
DrawCachedSvgTextureAsync(flag_texture, LayoutScale(23.0f, 16.0f), SvgScaling::Fit);

0 commit comments

Comments
 (0)