[Discord] Better image keys and avoid setting a small image for now.

This commit is contained in:
gibbed 2019-08-03 08:15:44 -05:00
parent 112bf6c8ab
commit 5593773a07
1 changed files with 5 additions and 3 deletions

View File

@ -34,7 +34,7 @@ void DiscordPresence::NotPlaying() {
DiscordRichPresence discordPresence = {};
discordPresence.state = "Idle";
discordPresence.details = "Standby";
discordPresence.largeImageKey = "default";
discordPresence.largeImageKey = "app";
discordPresence.instance = 1;
Discord_UpdatePresence(&discordPresence);
}
@ -44,8 +44,10 @@ void DiscordPresence::PlayingTitle(const std::wstring& game_title) {
DiscordRichPresence discordPresence = {};
discordPresence.state = "In Game";
discordPresence.details = discord_game_title.c_str();
discordPresence.smallImageKey = "default";
discordPresence.largeImageKey = "defaultgame";
// TODO(gibbed): we don't have state icons yet.
// discordPresence.smallImageKey = "app";
// discordPresence.largeImageKey = "state_ingame";
discordPresence.largeImageKey = "app";
discordPresence.instance = 1;
Discord_UpdatePresence(&discordPresence);
}