mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 04:20:27 +00:00
Merge pull request #2368 from leiradel/master
removed unnecessary comparisons
This commit is contained in:
commit
6737ce3089
14
cheevos.c
14
cheevos.c
@ -1903,9 +1903,6 @@ void cheevos_populate_menu(menu_displaylist_info_t *info)
|
||||
|
||||
for (i = 0; cheevo < end; i++, cheevo++)
|
||||
{
|
||||
if (!cheevo)
|
||||
continue;
|
||||
|
||||
if (!cheevo->active)
|
||||
menu_entries_push(info->list, cheevo->title, cheevo->description, MENU_SETTINGS_CHEEVOS_START + i, 0, 0);
|
||||
}
|
||||
@ -1917,9 +1914,6 @@ void cheevos_populate_menu(menu_displaylist_info_t *info)
|
||||
|
||||
for (i = 0; cheevo < end; i++, cheevo++)
|
||||
{
|
||||
if (!cheevo)
|
||||
continue;
|
||||
|
||||
if (!cheevo->active)
|
||||
menu_entries_push(info->list, cheevo->title, cheevo->description, MENU_SETTINGS_CHEEVOS_START + i, 0, 0);
|
||||
}
|
||||
@ -1934,9 +1928,7 @@ void cheevos_populate_menu(menu_displaylist_info_t *info)
|
||||
|
||||
for (i = 0; cheevo < end; i++, cheevo++)
|
||||
{
|
||||
if (!cheevo || !cheevo->active)
|
||||
continue;
|
||||
|
||||
if (cheevo->active)
|
||||
menu_entries_push(info->list, cheevo->title, cheevo->description, MENU_SETTINGS_CHEEVOS_START + i, 0, 0);
|
||||
}
|
||||
|
||||
@ -1947,9 +1939,7 @@ void cheevos_populate_menu(menu_displaylist_info_t *info)
|
||||
|
||||
for (i = 0; cheevo < end; i++, cheevo++)
|
||||
{
|
||||
if (!cheevo || !cheevo->active)
|
||||
continue;
|
||||
|
||||
if (!cheevo->active)
|
||||
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