mirror of
https://github.com/libretro/RetroArch.git
synced 2024-12-02 21:37:14 +00:00
23 lines
382 B
C
23 lines
382 B
C
#include "presence.h"
|
|
|
|
#ifdef HAVE_DISCORD
|
|
#include "discord.h"
|
|
#endif
|
|
|
|
#ifdef HAVE_MIST
|
|
#include "steam/steam.h"
|
|
#endif
|
|
|
|
void presence_update(enum presence presence)
|
|
{
|
|
#ifdef HAVE_DISCORD
|
|
discord_state_t *discord_st = discord_state_get_ptr();
|
|
|
|
if (discord_st->ready)
|
|
discord_update(presence);
|
|
#endif
|
|
#ifdef HAVE_MIST
|
|
steam_update_presence(presence, false);
|
|
#endif
|
|
}
|