mirror of https://github.com/mgba-emu/mgba.git
Qt: Set icon for Discord Rich Presence
This commit is contained in:
parent
b4cd441ef4
commit
ba49e9f1ce
1
CHANGES
1
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:
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue