mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
Discord Rich Presence CMake integration
I have no idea if this works or not. Hopefully the build bot will tell me.
This commit is contained in:
parent
57bd13a0ce
commit
63f03455f3
19 changed files with 98 additions and 59 deletions
|
@ -28,6 +28,9 @@
|
|||
#include "Core/State.h"
|
||||
|
||||
#include "UICommon/CommandLineParse.h"
|
||||
#ifdef USE_DISCORD_PRESENCE
|
||||
#include "UICommon/DiscordPresence.h"
|
||||
#endif
|
||||
#include "UICommon/UICommon.h"
|
||||
|
||||
#include "VideoCommon/RenderBase.h"
|
||||
|
@ -440,6 +443,10 @@ int main(int argc, char* argv[])
|
|||
return 1;
|
||||
}
|
||||
|
||||
#ifdef USE_DISCORD_PRESENCE
|
||||
Discord::UpdateDiscordPresence();
|
||||
#endif
|
||||
|
||||
while (!Core::IsRunning() && s_running.IsSet())
|
||||
{
|
||||
Core::HostDispatchJobs();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue