mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-04 23:29:17 +00:00
Added INI setting for Discord Rich Presence
This commit is contained in:
parent
678f8da95b
commit
d9351a5b45
5 changed files with 27 additions and 0 deletions
|
@ -570,7 +570,9 @@ void MainWindow::OnStopComplete()
|
|||
m_stop_requested = false;
|
||||
HideRenderWidget();
|
||||
EnableScreenSaver(true);
|
||||
#ifdef USE_DISCORD_PRESENCE
|
||||
Discord::UpdateDiscordPresence();
|
||||
#endif
|
||||
|
||||
SetFullScreenResolution(false);
|
||||
|
||||
|
@ -721,7 +723,9 @@ void MainWindow::StartGame(std::unique_ptr<BootParameters>&& parameters)
|
|||
return;
|
||||
}
|
||||
ShowRenderWidget();
|
||||
#ifdef USE_DISCORD_PRESENCE
|
||||
Discord::UpdateDiscordPresence();
|
||||
#endif
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
// Prevents Windows from sleeping, turning off the display, or idling
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue