Fixed Discord Rich Presence not working on games that are on MLC (#383)

This commit is contained in:
MythicalPlayz 2022-10-18 17:08:09 +02:00 committed by GitHub
parent 15b3a3f77d
commit 271a4e4719
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 79 deletions

View file

@ -704,9 +704,8 @@ namespace CafeSystem
std::string GetForegroundTitleName()
{
if (sLaunchModeIsStandalone)
return "Missing meta data";
// todo - use language based on Cemu console language
return sGameInfo_ForegroundTitle.GetBase().GetMetaInfo()->GetShortName(CafeConsoleLanguage::EN);
return "Unknown Game";
return sGameInfo_ForegroundTitle.GetBase().GetMetaInfo()->GetShortName(GetConfig().console_language);
}
std::string GetForegroundTitleArgStr()