mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-20 09:48:27 +00:00
fix a mistake I made when rewriting this code
This commit is contained in:
parent
2916e6c7ac
commit
88e84d1c79
@ -2194,29 +2194,32 @@ void cheevos_populate_menu(void *data)
|
|||||||
end = cheevos_locals.unofficial.cheevos
|
end = cheevos_locals.unofficial.cheevos
|
||||||
+ cheevos_locals.unofficial.count;
|
+ cheevos_locals.unofficial.count;
|
||||||
|
|
||||||
if (!(cheevo->active & CHEEVOS_ACTIVE_HARDCORE))
|
for (i = cheevos_locals.core.count; cheevo < end; i++, cheevo++)
|
||||||
{
|
{
|
||||||
menu_entries_append_enum(info->list, cheevo->title,
|
if (!(cheevo->active & CHEEVOS_ACTIVE_HARDCORE))
|
||||||
cheevo->description, MENU_ENUM_LABEL_CHEEVOS_UNLOCKED_ENTRY_HARDCORE,
|
{
|
||||||
MENU_SETTINGS_CHEEVOS_START + i, 0, 0);
|
menu_entries_append_enum(info->list, cheevo->title,
|
||||||
items_found++;
|
cheevo->description, MENU_ENUM_LABEL_CHEEVOS_UNLOCKED_ENTRY_HARDCORE,
|
||||||
set_badge_info(&badges_ctx, i, cheevo->badge, (cheevo->active & CHEEVOS_ACTIVE_HARDCORE));
|
MENU_SETTINGS_CHEEVOS_START + i, 0, 0);
|
||||||
}
|
items_found++;
|
||||||
else if (!(cheevo->active & CHEEVOS_ACTIVE_SOFTCORE))
|
set_badge_info(&badges_ctx, i, cheevo->badge, (cheevo->active & CHEEVOS_ACTIVE_HARDCORE));
|
||||||
{
|
}
|
||||||
menu_entries_append_enum(info->list, cheevo->title,
|
else if (!(cheevo->active & CHEEVOS_ACTIVE_SOFTCORE))
|
||||||
cheevo->description, MENU_ENUM_LABEL_CHEEVOS_UNLOCKED_ENTRY,
|
{
|
||||||
MENU_SETTINGS_CHEEVOS_START + i, 0, 0);
|
menu_entries_append_enum(info->list, cheevo->title,
|
||||||
items_found++;
|
cheevo->description, MENU_ENUM_LABEL_CHEEVOS_UNLOCKED_ENTRY,
|
||||||
set_badge_info(&badges_ctx, i, cheevo->badge, (cheevo->active & CHEEVOS_ACTIVE_SOFTCORE));
|
MENU_SETTINGS_CHEEVOS_START + i, 0, 0);
|
||||||
}
|
items_found++;
|
||||||
else
|
set_badge_info(&badges_ctx, i, cheevo->badge, (cheevo->active & CHEEVOS_ACTIVE_SOFTCORE));
|
||||||
{
|
}
|
||||||
menu_entries_append_enum(info->list, cheevo->title,
|
else
|
||||||
cheevo->description, MENU_ENUM_LABEL_CHEEVOS_LOCKED_ENTRY,
|
{
|
||||||
MENU_SETTINGS_CHEEVOS_START + i, 0, 0);
|
menu_entries_append_enum(info->list, cheevo->title,
|
||||||
items_found++;
|
cheevo->description, MENU_ENUM_LABEL_CHEEVOS_LOCKED_ENTRY,
|
||||||
set_badge_info(&badges_ctx, i, cheevo->badge, (cheevo->active & CHEEVOS_ACTIVE_SOFTCORE));
|
MENU_SETTINGS_CHEEVOS_START + i, 0, 0);
|
||||||
|
items_found++;
|
||||||
|
set_badge_info(&badges_ctx, i, cheevo->badge, (cheevo->active & CHEEVOS_ACTIVE_SOFTCORE));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user