mirror of
https://github.com/libretro/RetroArch
synced 2025-04-09 21:45:45 +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 ||
|
if (!rcheevos_locals.richpresence.richpresence ||
|
||||||
cpu_features_get_time_usec() < rcheevos_locals.richpresence.last_update + CHEEVOS_PING_FREQUENCY)
|
cpu_features_get_time_usec() < rcheevos_locals.richpresence.last_update + CHEEVOS_PING_FREQUENCY)
|
||||||
return;
|
return;
|
||||||
else
|
|
||||||
{
|
{
|
||||||
settings_t* settings = config_get_ptr();
|
settings_t* settings = config_get_ptr();
|
||||||
char url[256], post_data[1024];
|
char url[256], post_data[1024];
|
||||||
@ -1081,7 +1081,8 @@ static void rcheevos_test_richpresence(void)
|
|||||||
|
|
||||||
#ifdef HAVE_DISCORD
|
#ifdef HAVE_DISCORD
|
||||||
if (settings->bools.discord_enable)
|
if (settings->bools.discord_enable)
|
||||||
discord_update(DISCORD_PRESENCE_RETROACHIEVEMENTS);
|
discord_update(DISCORD_PRESENCE_RETROACHIEVEMENTS,
|
||||||
|
false);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
task_push_http_post_transfer(url, post_data, true, "POST", NULL, NULL);
|
task_push_http_post_transfer(url, post_data, true, "POST", NULL, NULL);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user