mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-27 10:10:57 +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
|
|
}
|