mirror of
https://github.com/libretro/RetroArch
synced 2025-02-16 03:40:12 +00:00
pause hardcore if core doesn't support achievements
This commit is contained in:
parent
203a80aeaa
commit
1f97d31f2a
@ -2560,7 +2560,10 @@ bool rcheevos_load(const void *data)
|
|||||||
rcheevos_hardcore_paused = false;
|
rcheevos_hardcore_paused = false;
|
||||||
|
|
||||||
if (!rcheevos_locals.core_supports || !data)
|
if (!rcheevos_locals.core_supports || !data)
|
||||||
|
{
|
||||||
|
rcheevos_hardcore_paused = true;
|
||||||
return false;
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
coro = (rcheevos_coro_t*)calloc(1, sizeof(*coro));
|
coro = (rcheevos_coro_t*)calloc(1, sizeof(*coro));
|
||||||
|
|
||||||
|
@ -1087,6 +1087,12 @@ static bool content_file_load(
|
|||||||
|
|
||||||
if (type == RARCH_CONTENT_NONE && !string_is_empty(content_path))
|
if (type == RARCH_CONTENT_NONE && !string_is_empty(content_path))
|
||||||
rcheevos_load(info);
|
rcheevos_load(info);
|
||||||
|
else
|
||||||
|
rcheevos_hardcore_paused = true;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
rcheevos_hardcore_paused = true;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user