mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-04 14:01:17 +12:00
Fix various issues related to title names
Fixed various issues related to title names: 1. If console language is set to non-English, the title names in Title Manager may be empty. 2. Game list do not show custom names if list style set to icon or small icon. 3. Custom title names for some languages (like JP or CN) appear confusing if re-edited. 4. Unexpected overrides of variable values in ParsedMetaXml.h
This commit is contained in:
parent
e5d7d5d173
commit
40e488ba79
2 changed files with 5 additions and 5 deletions
|
@ -536,7 +536,7 @@ void wxGameList::OnContextMenuSelected(wxCommandEvent& event)
|
|||
std::string customName = "";
|
||||
if (!GetConfig().GetGameListCustomName(title_id, customName))
|
||||
customName.clear();
|
||||
wxTextEntryDialog dialog(this, wxEmptyString, L"Enter a custom game title", customName);
|
||||
wxTextEntryDialog dialog(this, wxEmptyString, _("Enter a custom game title"), wxHelper::FromUtf8(customName));
|
||||
if(dialog.ShowModal() == wxID_OK)
|
||||
{
|
||||
const auto custom_name = dialog.GetValue();
|
||||
|
@ -859,7 +859,7 @@ void wxGameList::OnGameEntryUpdatedByTitleId(wxTitleIdEvent& event)
|
|||
if(index == wxNOT_FOUND)
|
||||
{
|
||||
// entry doesn't exist
|
||||
index = InsertItem(FindInsertPosition(baseTitleId), wxHelper::FromUtf8(gameInfo.GetTitleName()));
|
||||
index = InsertItem(FindInsertPosition(baseTitleId), wxHelper::FromUtf8(GetNameByTitleId(baseTitleId)));
|
||||
SetItemPtrData(index, baseTitleId);
|
||||
isNewEntry = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue