Fix crash in title manager

This commit is contained in:
Exzap 2023-07-27 21:22:53 +02:00
parent 0d96255bae
commit 6268a24a4b
1 changed files with 2 additions and 1 deletions

View File

@ -1005,7 +1005,8 @@ void wxTitleManagerList::HandleTitleListCallback(CafeTitleListCallbackEvent* evt
wxTitleManagerList::TitleEntry entry(entryType, entryFormat, titleInfo.GetPath()); wxTitleManagerList::TitleEntry entry(entryType, entryFormat, titleInfo.GetPath());
ParsedMetaXml* metaInfo = titleInfo.GetMetaInfo(); ParsedMetaXml* metaInfo = titleInfo.GetMetaInfo();
if(titleInfo.IsSystemDataTitle())
return; // dont show system data titles for now
entry.location_uid = titleInfo.GetUID(); entry.location_uid = titleInfo.GetUID();
entry.title_id = titleInfo.GetAppTitleId(); entry.title_id = titleInfo.GetAppTitleId();
std::string name = metaInfo->GetLongName(GetConfig().console_language.GetValue()); std::string name = metaInfo->GetLongName(GetConfig().console_language.GetValue());