pause hardcore if core doesn't support achievements

This commit is contained in:
Jamiras 2019-11-27 07:38:41 -07:00
parent 203a80aeaa
commit 1f97d31f2a
2 changed files with 9 additions and 0 deletions

View File

@ -2560,7 +2560,10 @@ bool rcheevos_load(const void *data)
rcheevos_hardcore_paused = false;
if (!rcheevos_locals.core_supports || !data)
{
rcheevos_hardcore_paused = true;
return false;
}
coro = (rcheevos_coro_t*)calloc(1, sizeof(*coro));

View File

@ -1087,6 +1087,12 @@ static bool content_file_load(
if (type == RARCH_CONTENT_NONE && !string_is_empty(content_path))
rcheevos_load(info);
else
rcheevos_hardcore_paused = true;
}
else
{
rcheevos_hardcore_paused = true;
}
#endif