Qt: Set icon for Discord Rich Presence
Vicki Pfau vi@endrift.com
Sun, 23 Feb 2020 00:34:15 -0800
2 files changed,
2 insertions(+),
0 deletions(-)
M
CHANGES
→
CHANGES
@@ -5,6 +5,7 @@ - Core: Fix crash modifying hash table entry (fixes mgba.io/i/1673)
Misc: - Qt: Disable Replace ROM option when no game loaded - Qt: Defer texture updates until frame is drawn (fixes mgba.io/i/1590) + - Qt: Set icon for Discord Rich Presence 0.8.1: (2020-02-16) Emulation fixes:
M
src/platform/qt/DiscordCoordinator.cpp
→
src/platform/qt/DiscordCoordinator.cpp
@@ -30,6 +30,7 @@ if (s_gameRunning) {
DiscordRichPresence discordPresence{}; discordPresence.details = s_title.toUtf8().constData(); discordPresence.instance = 1; + discordPresence.largeImageKey = "mgba"; Discord_UpdatePresence(&discordPresence); } else { Discord_ClearPresence();