all repos — mgba @ f0a17923cdf6c88c695113567eb16c924688d127

mGBA Game Boy Advance Emulator

Qt: Set icon for Discord Rich Presence
Vicki Pfau vi@endrift.com
Sun, 23 Feb 2020 00:34:15 -0800
commit

f0a17923cdf6c88c695113567eb16c924688d127

parent

4fc42a02ca14be6a1d291ad596511e580fcee862

2 files changed, 2 insertions(+), 0 deletions(-)

jump to
M CHANGESCHANGES

@@ -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.cppsrc/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();