mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 04:14:00 +00:00
Change function signature of discord_update
This commit is contained in:
parent
1fb57857ea
commit
406342479a
@ -62,7 +62,7 @@ static void handle_discord_join_request(const DiscordUser* request)
|
||||
request->userId);
|
||||
}
|
||||
|
||||
void discord_update(unsigned presence)
|
||||
void discord_update(enum discord_presence presence)
|
||||
{
|
||||
if (!discord_ready)
|
||||
return;
|
||||
@ -94,7 +94,10 @@ void discord_update(unsigned presence)
|
||||
discord_presence.instance = 0;
|
||||
discord_presence.startTimestamp = start_time;
|
||||
break;
|
||||
default:
|
||||
case DISCORD_PRESENCE_NETPLAY_HOSTING:
|
||||
case DISCORD_PRESENCE_NETPLAY_CLIENT:
|
||||
case DISCORD_PRESENCE_CHEEVO_UNLOCKED:
|
||||
/* TODO/FIXME */
|
||||
break;
|
||||
}
|
||||
Discord_UpdatePresence(&discord_presence);
|
||||
|
@ -39,9 +39,10 @@ enum discord_presence
|
||||
DISCORD_PRESENCE_NETPLAY_CLIENT
|
||||
};
|
||||
|
||||
void discord_init(void);
|
||||
|
||||
void discord_init();
|
||||
void discord_shutdown();
|
||||
void discord_update(unsigned presence);
|
||||
void discord_shutdown(void);
|
||||
|
||||
void discord_update(enum discord_presence presence);
|
||||
|
||||
#endif /* __RARCH_DISCORD_H */
|
||||
|
Loading…
x
Reference in New Issue
Block a user