mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-23 03:10:14 +00:00
Merge pull request #1844 from heuripedes/master
(Menu) Fix some menu_entries_get_start() checks
This commit is contained in:
commit
a620beff0c
@ -673,7 +673,7 @@ static void glui_navigation_set(bool scroll)
|
||||
else
|
||||
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);
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
|
||||
anim->is_active = false;
|
||||
|
Loading…
Reference in New Issue
Block a user