mirror of
https://github.com/libretro/RetroArch.git
synced 2025-01-22 01:07:37 +00:00
don't test cheevos if there are none
This commit is contained in:
parent
181fae83eb
commit
fe79269133
14
cheevos.c
14
cheevos.c
@ -1270,13 +1270,17 @@ static void cheevos_test_cheevo_set(const cheevoset_t *set)
|
||||
|
||||
void cheevos_test(void)
|
||||
{
|
||||
settings_t *settings = config_get_ptr();
|
||||
if (settings->cheevos.enable && !cheevos_globals.cheats_are_enabled && !cheevos_globals.cheats_were_enabled)
|
||||
if (cheevos_locals.loaded)
|
||||
{
|
||||
cheevos_test_cheevo_set(&cheevos_locals.core);
|
||||
settings_t *settings = config_get_ptr();
|
||||
|
||||
if (settings->cheevos.enable && !cheevos_globals.cheats_are_enabled && !cheevos_globals.cheats_were_enabled)
|
||||
{
|
||||
cheevos_test_cheevo_set(&cheevos_locals.core);
|
||||
|
||||
if (settings->cheevos.test_unofficial)
|
||||
cheevos_test_cheevo_set(&cheevos_locals.unofficial);
|
||||
if (settings->cheevos.test_unofficial)
|
||||
cheevos_test_cheevo_set(&cheevos_locals.unofficial);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user