mirror of
https://git.zaroz.cloud/nintendo-back-up/cemu/Cemu.git
synced 2026-01-28 04:50:46 -08:00
GameList: Use title name based on console language (#388)
This commit is contained in:
parent
dd1cb1cccf
commit
c217b3ee32
5 changed files with 24 additions and 2 deletions
|
|
@ -705,7 +705,13 @@ namespace CafeSystem
|
|||
{
|
||||
if (sLaunchModeIsStandalone)
|
||||
return "Unknown Game";
|
||||
return sGameInfo_ForegroundTitle.GetBase().GetMetaInfo()->GetShortName(GetConfig().console_language);
|
||||
std::string applicationName;
|
||||
applicationName = sGameInfo_ForegroundTitle.GetBase().GetMetaInfo()->GetShortName(GetConfig().console_language);
|
||||
if (applicationName.empty()) //Try to get the English Title
|
||||
applicationName = sGameInfo_ForegroundTitle.GetBase().GetMetaInfo()->GetShortName(CafeConsoleLanguage::EN);
|
||||
if (applicationName.empty()) //Unknown Game
|
||||
applicationName = "Unknown Game";
|
||||
return applicationName;
|
||||
}
|
||||
|
||||
std::string GetForegroundTitleArgStr()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue