mirror of
https://github.com/libretro/RetroArch
synced 2025-04-16 17:43:02 +00:00
Further cleanups
This commit is contained in:
parent
f57675fa40
commit
7b61f1eb27
14
cheevos.c
14
cheevos.c
@ -1904,6 +1904,9 @@ void cheevos_populate_menu(menu_displaylist_info_t *info)
|
|||||||
|
|
||||||
for (i = 0; cheevo < end; i++, cheevo++)
|
for (i = 0; cheevo < end; i++, cheevo++)
|
||||||
{
|
{
|
||||||
|
if (!cheevo)
|
||||||
|
continue;
|
||||||
|
|
||||||
if (!cheevo->active)
|
if (!cheevo->active)
|
||||||
menu_entries_push(info->list, cheevo->title, cheevo->description, MENU_SETTINGS_CHEEVOS_START + i, 0, 0);
|
menu_entries_push(info->list, cheevo->title, cheevo->description, MENU_SETTINGS_CHEEVOS_START + i, 0, 0);
|
||||||
}
|
}
|
||||||
@ -1915,6 +1918,9 @@ void cheevos_populate_menu(menu_displaylist_info_t *info)
|
|||||||
|
|
||||||
for (i = 0; cheevo < end; i++, cheevo++)
|
for (i = 0; cheevo < end; i++, cheevo++)
|
||||||
{
|
{
|
||||||
|
if (!cheevo)
|
||||||
|
continue;
|
||||||
|
|
||||||
if (!cheevo->active)
|
if (!cheevo->active)
|
||||||
menu_entries_push(info->list, cheevo->title, cheevo->description, MENU_SETTINGS_CHEEVOS_START + i, 0, 0);
|
menu_entries_push(info->list, cheevo->title, cheevo->description, MENU_SETTINGS_CHEEVOS_START + i, 0, 0);
|
||||||
}
|
}
|
||||||
@ -1929,7 +1935,9 @@ void cheevos_populate_menu(menu_displaylist_info_t *info)
|
|||||||
|
|
||||||
for (i = 0; cheevo < end; i++, cheevo++)
|
for (i = 0; cheevo < end; i++, cheevo++)
|
||||||
{
|
{
|
||||||
if (cheevo->active)
|
if (!cheevo || !cheevo->active)
|
||||||
|
continue;
|
||||||
|
|
||||||
menu_entries_push(info->list, cheevo->title, cheevo->description, MENU_SETTINGS_CHEEVOS_START + i, 0, 0);
|
menu_entries_push(info->list, cheevo->title, cheevo->description, MENU_SETTINGS_CHEEVOS_START + i, 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1940,7 +1948,9 @@ void cheevos_populate_menu(menu_displaylist_info_t *info)
|
|||||||
|
|
||||||
for (i = 0; cheevo < end; i++, cheevo++)
|
for (i = 0; cheevo < end; i++, cheevo++)
|
||||||
{
|
{
|
||||||
if (cheevo->active)
|
if (!cheevo || !cheevo->active)
|
||||||
|
continue;
|
||||||
|
|
||||||
menu_entries_push(info->list, cheevo->title, cheevo->description, MENU_SETTINGS_CHEEVOS_START + i, 0, 0);
|
menu_entries_push(info->list, cheevo->title, cheevo->description, MENU_SETTINGS_CHEEVOS_START + i, 0, 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user