mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-04 14:01:17 +12: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