(Menu) Fix some menu_entries_get_start() checks

This commit is contained in:
Higor Eurípedes 2015-06-22 14:49:56 -03:00
parent 324cf09deb
commit cfe57b8442
2 changed files with 2 additions and 2 deletions

View File

@ -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);
}

View File

@ -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;