System: Load discord-rpc dynamically

This commit is contained in:
Stenzek
2024-07-04 14:40:16 +10:00
parent 00d2d862c2
commit f6d3a7987d
8 changed files with 87 additions and 32 deletions

View File

@ -495,10 +495,8 @@ void SetRunaheadReplayFlag();
SocketMultiplexer* GetSocketMultiplexer();
void ReleaseSocketMultiplexer();
#ifdef ENABLE_DISCORD_PRESENCE
/// Called when rich presence changes.
void UpdateDiscordPresence(bool update_session_time);
#endif
void UpdateRichPresence(bool update_session_time);
namespace Internal {
/// Performs mandatory hardware checks.