mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 00:20:01 +00:00
Buildfix
This commit is contained in:
parent
5d56d09b8d
commit
1d86fc07b1
@ -1058,7 +1058,7 @@ static void rcheevos_test_richpresence(void)
|
||||
if (!rcheevos_locals.richpresence.richpresence ||
|
||||
cpu_features_get_time_usec() < rcheevos_locals.richpresence.last_update + CHEEVOS_PING_FREQUENCY)
|
||||
return;
|
||||
else
|
||||
|
||||
{
|
||||
settings_t* settings = config_get_ptr();
|
||||
char url[256], post_data[1024];
|
||||
@ -1081,7 +1081,8 @@ static void rcheevos_test_richpresence(void)
|
||||
|
||||
#ifdef HAVE_DISCORD
|
||||
if (settings->bools.discord_enable)
|
||||
discord_update(DISCORD_PRESENCE_RETROACHIEVEMENTS);
|
||||
discord_update(DISCORD_PRESENCE_RETROACHIEVEMENTS,
|
||||
false);
|
||||
#endif
|
||||
|
||||
task_push_http_post_transfer(url, post_data, true, "POST", NULL, NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user