mirror of
https://github.com/libretro/RetroArch
synced 2025-04-03 10:21:31 +00:00
Merge pull request #4620 from leiradel/master
Only compile support for leaderboards if CHEEVOS_ENABLE_LBOARDS is de…
This commit is contained in:
commit
89244d0e58
@ -1666,8 +1666,10 @@ static int cheevos_read__json_end_object(void *userdata)
|
|||||||
|
|
||||||
if (ud->in_cheevos)
|
if (ud->in_cheevos)
|
||||||
return cheevos_new_cheevo(ud);
|
return cheevos_new_cheevo(ud);
|
||||||
|
#ifdef CHEEVOS_ENABLE_LBOARDS
|
||||||
else if (ud->in_lboards)
|
else if (ud->in_lboards)
|
||||||
return cheevos_new_lboard(ud);
|
return cheevos_new_lboard(ud);
|
||||||
|
#endif
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
@ -3302,7 +3304,9 @@ void cheevos_test(void)
|
|||||||
if (settings->cheevos.test_unofficial)
|
if (settings->cheevos.test_unofficial)
|
||||||
cheevos_test_cheevo_set(&cheevos_locals.unofficial);
|
cheevos_test_cheevo_set(&cheevos_locals.unofficial);
|
||||||
|
|
||||||
|
#ifdef CHEEVOS_ENABLE_LBOARDS
|
||||||
cheevos_test_leaderboards();
|
cheevos_test_leaderboards();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
bool cheevos_set_cheats(void)
|
bool cheevos_set_cheats(void)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user