mirror of
https://github.com/libretro/RetroArch
synced 2025-03-30 07:20:36 +00:00
still call callback on network error (#15614)
This commit is contained in:
parent
ede69b4b6b
commit
ee7735f82e
@ -1939,8 +1939,7 @@ static void rcheevos_initialize_runtime_callback(void* userdata)
|
||||
|
||||
static void rcheevos_fetch_game_data(void)
|
||||
{
|
||||
if ( rcheevos_locals.load_info.state
|
||||
== RCHEEVOS_LOAD_STATE_NETWORK_ERROR)
|
||||
if (rcheevos_load_aborted())
|
||||
{
|
||||
rcheevos_locals.game.hash = NULL;
|
||||
rcheevos_pause_hardcore();
|
||||
|
@ -531,7 +531,7 @@ static void rcheevos_async_end_request(rcheevos_async_io_request* request)
|
||||
{
|
||||
rc_api_destroy_request(&request->request);
|
||||
|
||||
if (request->callback && !rcheevos_load_aborted())
|
||||
if (request->callback)
|
||||
request->callback(request->callback_data);
|
||||
|
||||
/* rich presence request will be reused on next ping - reset the attempt
|
||||
|
Loading…
x
Reference in New Issue
Block a user