From 6c315bd716788f56a426111e2cb8cca0b8b2bcc3 Mon Sep 17 00:00:00 2001 From: Riley Hawksworth Date: Sun, 31 Mar 2024 11:48:27 +0100 Subject: [PATCH] Improvements to Discord RPC. --- src/lime_qt/discord_impl.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/lime_qt/discord_impl.cpp b/src/lime_qt/discord_impl.cpp index 47c022e24..2cdff923a 100644 --- a/src/lime_qt/discord_impl.cpp +++ b/src/lime_qt/discord_impl.cpp @@ -42,11 +42,14 @@ void DiscordImpl::Update() { DiscordRichPresence presence{}; presence.largeImageKey = "large_icon"; - presence.largeImageText = "Lime is an emulator for the 3DS!"; + presence.smallImageKey = "small_icon"; + presence.smallImageText = "Lime is an emulator for the 3DS!"; if (is_powered_on) { + presence.largeImageText = title.c_str(); presence.state = title.c_str(); presence.details = "Currently in game"; } else { + presence.largeImageText = "Not in game"; presence.details = "Not in game"; } presence.startTimestamp = start_time;