Skip to content

Commit 05af0c1

Browse files
committed
FullscreenUI: Fix title display in game properties
1 parent 2369b32 commit 05af0c1

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/core/fullscreen_ui.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4050,9 +4050,10 @@ void FullscreenUI::DrawSummarySettingsPage()
40504050

40514051
if (s_state.game_settings_entry)
40524052
{
4053-
if (MenuButton(FSUI_ICONVSTR(ICON_FA_WINDOW_MAXIMIZE, "Title"), s_state.game_settings_entry->title.c_str(), true))
4053+
if (MenuButton(FSUI_ICONVSTR(ICON_FA_WINDOW_MAXIMIZE, "Title"),
4054+
s_state.game_settings_entry->GetDisplayTitle(s_state.show_localized_titles), true))
40544055
CopyTextToClipboard(FSUI_STR("Game title copied to clipboard."), s_state.game_settings_entry->title);
4055-
if (MenuButton(FSUI_ICONVSTR(ICON_FA_PAGER, "Serial"), s_state.game_settings_entry->serial.c_str(), true))
4056+
if (MenuButton(FSUI_ICONVSTR(ICON_FA_PAGER, "Serial"), s_state.game_settings_entry->serial, true))
40564057
CopyTextToClipboard(FSUI_STR("Game serial copied to clipboard."), s_state.game_settings_entry->serial);
40574058
if (MenuButton(FSUI_ICONVSTR(ICON_FA_COMPACT_DISC, "Type"),
40584059
GameList::GetEntryTypeDisplayName(s_state.game_settings_entry->type), true))
@@ -4077,7 +4078,7 @@ void FullscreenUI::DrawSummarySettingsPage()
40774078
s_state.game_settings_entry->dbentry ? s_state.game_settings_entry->dbentry->compatibility :
40784079
GameDatabase::CompatibilityRating::Unknown));
40794080
}
4080-
if (MenuButton(FSUI_ICONVSTR(ICON_FA_FILE, "Path"), s_state.game_settings_entry->path.c_str(), true))
4081+
if (MenuButton(FSUI_ICONVSTR(ICON_FA_FILE, "Path"), s_state.game_settings_entry->path, true))
40814082
{
40824083
CopyTextToClipboard(FSUI_STR("Game path copied to clipboard."), s_state.game_settings_entry->path);
40834084
}

0 commit comments

Comments
 (0)