From ba49e9f1ce00cfb02703147a30051a873aefe572 Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Sun, 23 Feb 2020 00:34:15 -0800 Subject: [PATCH] Qt: Set icon for Discord Rich Presence --- CHANGES | 1 + src/platform/qt/DiscordCoordinator.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGES b/CHANGES index 73e478fd4..625d76311 100644 --- a/CHANGES +++ b/CHANGES @@ -25,6 +25,7 @@ Misc: - Qt: Add transformation matrix info to sprite view - 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: diff --git a/src/platform/qt/DiscordCoordinator.cpp b/src/platform/qt/DiscordCoordinator.cpp index 8948cdd50..e438141bf 100644 --- a/src/platform/qt/DiscordCoordinator.cpp +++ b/src/platform/qt/DiscordCoordinator.cpp @@ -30,6 +30,7 @@ static void updatePresence() { DiscordRichPresence discordPresence{}; discordPresence.details = s_title.toUtf8().constData(); discordPresence.instance = 1; + discordPresence.largeImageKey = "mgba"; Discord_UpdatePresence(&discordPresence); } else { Discord_ClearPresence();