mirror of
https://github.com/libretro/RetroArch
synced 2025-04-16 17:43:02 +00:00
fix a mistake I made when rewriting this code
This commit is contained in:
parent
2916e6c7ac
commit
88e84d1c79
@ -2194,6 +2194,8 @@ void cheevos_populate_menu(void *data)
|
|||||||
end = cheevos_locals.unofficial.cheevos
|
end = cheevos_locals.unofficial.cheevos
|
||||||
+ cheevos_locals.unofficial.count;
|
+ cheevos_locals.unofficial.count;
|
||||||
|
|
||||||
|
for (i = cheevos_locals.core.count; cheevo < end; i++, cheevo++)
|
||||||
|
{
|
||||||
if (!(cheevo->active & CHEEVOS_ACTIVE_HARDCORE))
|
if (!(cheevo->active & CHEEVOS_ACTIVE_HARDCORE))
|
||||||
{
|
{
|
||||||
menu_entries_append_enum(info->list, cheevo->title,
|
menu_entries_append_enum(info->list, cheevo->title,
|
||||||
@ -2219,6 +2221,7 @@ void cheevos_populate_menu(void *data)
|
|||||||
set_badge_info(&badges_ctx, i, cheevo->badge, (cheevo->active & CHEEVOS_ACTIVE_SOFTCORE));
|
set_badge_info(&badges_ctx, i, cheevo->badge, (cheevo->active & CHEEVOS_ACTIVE_SOFTCORE));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (items_found == 0)
|
if (items_found == 0)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user