mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-27 08:05:41 +00:00
Fix Discord RPC not reporting the game title
This commit is contained in:
parent
bdd98281fc
commit
67392a37ec
|
@ -2371,7 +2371,7 @@ void CommonHostInterface::UpdateDiscordPresence()
|
||||||
rp.startTimestamp = std::time(nullptr);
|
rp.startTimestamp = std::time(nullptr);
|
||||||
|
|
||||||
SmallString details_string;
|
SmallString details_string;
|
||||||
if (System::IsValid())
|
if (!System::IsShutdown())
|
||||||
{
|
{
|
||||||
details_string.AppendFormattedString("%s (%s)", System::GetRunningTitle().c_str(),
|
details_string.AppendFormattedString("%s (%s)", System::GetRunningTitle().c_str(),
|
||||||
System::GetRunningCode().c_str());
|
System::GetRunningCode().c_str());
|
||||||
|
|
Loading…
Reference in a new issue