mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 16:39:43 +00:00
(Discord/runloop) Cleanup
This commit is contained in:
parent
ef22057087
commit
8f19dd8b12
@ -20319,13 +20319,8 @@ int runloop_iterate(unsigned *sleep_ms)
|
||||
cheat_manager_apply_retro_cheats();
|
||||
|
||||
#ifdef HAVE_DISCORD
|
||||
if (discord_is_inited)
|
||||
{
|
||||
discord_userdata_t userdata;
|
||||
userdata.status = DISCORD_PRESENCE_GAME;
|
||||
|
||||
command_event(CMD_EVENT_DISCORD_UPDATE, &userdata);
|
||||
}
|
||||
if (discord_is_inited && discord_is_ready())
|
||||
discord_update(DISCORD_PRESENCE_GAME);
|
||||
#endif
|
||||
|
||||
for (i = 0; i < max_users; i++)
|
||||
|
Loading…
Reference in New Issue
Block a user