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
3 changed files with 3 additions and 79 deletions
+2 -3
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()