mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 06:44:27 +00:00
menu_entries_get_end - cleanup
This commit is contained in:
parent
1d5499c0d9
commit
7f49cf3f59
@ -43,12 +43,12 @@ size_t menu_entries_get_start(void)
|
|||||||
// Returns the last index + 1 of the menu entry list
|
// Returns the last index + 1 of the menu entry list
|
||||||
size_t menu_entries_get_end(void)
|
size_t menu_entries_get_end(void)
|
||||||
{
|
{
|
||||||
menu_handle_t *menu = menu_driver_get_ptr();
|
menu_list_t *menu_list = menu_list_get_ptr();
|
||||||
|
|
||||||
if (!menu)
|
if (!menu_list)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
return menu_list_get_size(menu->menu_list);
|
return menu_list_get_size(menu_list);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Sets title to what the name of the current menu should be
|
// Sets title to what the name of the current menu should be
|
||||||
|
Loading…
x
Reference in New Issue
Block a user