mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-03 16:48:40 +00:00
(Menu) Fix some menu_entries_get_start() checks
This commit is contained in:
parent
324cf09deb
commit
cfe57b8442
@ -673,7 +673,7 @@ static void glui_navigation_set(bool scroll)
|
|||||||
else
|
else
|
||||||
menu_entries_set_start(end - num_lines);
|
menu_entries_set_start(end - num_lines);
|
||||||
|
|
||||||
if (menu_entries_get_start() > 5)
|
if (menu_entries_get_start() >= 5)
|
||||||
menu_entries_set_start(menu_entries_get_start() - 5);
|
menu_entries_set_start(menu_entries_get_start() - 5);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1348,7 +1348,7 @@ static void xmb_render(void)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (menu_entries_get_start() > 5)
|
if (menu_entries_get_start() >= 5)
|
||||||
menu_entries_set_start(menu_entries_get_start() - 5);
|
menu_entries_set_start(menu_entries_get_start() - 5);
|
||||||
|
|
||||||
anim->is_active = false;
|
anim->is_active = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user