mirror of
https://github.com/libretro/RetroArch
synced 2025-04-16 08:43:10 +00:00
fixed the achievements list menu
This commit is contained in:
parent
8700450410
commit
c007298494
13
cheevos.c
13
cheevos.c
@ -1887,14 +1887,12 @@ void cheevos_populate_menu(menu_displaylist_info_t *info)
|
||||
const cheevo_t *end;
|
||||
cheevo_t *cheevo;
|
||||
|
||||
RARCH_LOG("CHEEVOS POPULATING MENU");
|
||||
|
||||
menu_entries_push(info->list, "", "", MENU_SETTINGS_CORE_INFO_NONE, 0, 0);
|
||||
menu_entries_push(info->list, "Unlocked Achievements:", "", MENU_SETTINGS_CORE_INFO_NONE, 0, 0);
|
||||
menu_entries_push(info->list, "", "", MENU_SETTINGS_CORE_INFO_NONE, 0, 0);
|
||||
|
||||
for (cheevo = cheevos_locals.core.cheevos, end = cheevos_locals.core.cheevos + cheevos_locals.core.count; cheevo < end; cheevo++)
|
||||
{
|
||||
if (cheevo->active)
|
||||
if (!cheevo->active)
|
||||
{
|
||||
menu_entries_push(info->list, cheevo->title, cheevo->description, MENU_SETTINGS_CORE_INFO_NONE, 0, 0);
|
||||
}
|
||||
@ -1904,7 +1902,7 @@ void cheevos_populate_menu(menu_displaylist_info_t *info)
|
||||
{
|
||||
for (cheevo = cheevos_locals.unofficial.cheevos, end = cheevos_locals.unofficial.cheevos + cheevos_locals.unofficial.count; cheevo < end; cheevo++)
|
||||
{
|
||||
if (cheevo->active)
|
||||
if (!cheevo->active)
|
||||
{
|
||||
menu_entries_push(info->list, cheevo->title, cheevo->description, MENU_SETTINGS_CORE_INFO_NONE, 0, 0);
|
||||
}
|
||||
@ -1913,10 +1911,11 @@ void cheevos_populate_menu(menu_displaylist_info_t *info)
|
||||
|
||||
menu_entries_push(info->list, "", "", MENU_SETTINGS_CORE_INFO_NONE, 0, 0);
|
||||
menu_entries_push(info->list, "Locked Achievements:", "", MENU_SETTINGS_CORE_INFO_NONE, 0, 0);
|
||||
menu_entries_push(info->list, "", "", MENU_SETTINGS_CORE_INFO_NONE, 0, 0);
|
||||
|
||||
for (cheevo = cheevos_locals.core.cheevos, end = cheevos_locals.core.cheevos + cheevos_locals.core.count; cheevo < end; cheevo++)
|
||||
{
|
||||
if (!cheevo->active)
|
||||
if (cheevo->active)
|
||||
{
|
||||
menu_entries_push(info->list, cheevo->title, cheevo->description, MENU_SETTINGS_CORE_INFO_NONE, 0, 0);
|
||||
}
|
||||
@ -1926,7 +1925,7 @@ void cheevos_populate_menu(menu_displaylist_info_t *info)
|
||||
{
|
||||
for (cheevo = cheevos_locals.unofficial.cheevos, end = cheevos_locals.unofficial.cheevos + cheevos_locals.unofficial.count; cheevo < end; cheevo++)
|
||||
{
|
||||
if (!cheevo->active)
|
||||
if (cheevo->active)
|
||||
{
|
||||
menu_entries_push(info->list, cheevo->title, cheevo->description, MENU_SETTINGS_CORE_INFO_NONE, 0, 0);
|
||||
}
|
||||
|
@ -1744,7 +1744,7 @@ static int menu_displaylist_parse_load_content_settings(menu_displaylist_info_t
|
||||
menu_hash_to_str(MENU_LABEL_SHADER_OPTIONS),
|
||||
MENU_SETTING_ACTION, 0, 0);
|
||||
#endif
|
||||
#if 0
|
||||
#ifdef HAVE_CHEEVOS
|
||||
menu_entries_push(info->list,
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_ACHIEVEMENT_LIST),
|
||||
menu_hash_to_str(MENU_LABEL_ACHIEVEMENT_LIST),
|
||||
|
Loading…
x
Reference in New Issue
Block a user