mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-07-29 10:09:15 +02:00
GameList: Use title name based on console language (#388)
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user