mirror of
https://github.com/astronautlevel2/Anemone3DS.git
synced 2026-01-24 00:32:43 -05:00
Prevent out of bounds scrolling in the browser
This commit is contained in:
@@ -469,6 +469,7 @@ static void change_selected(Entry_List_s * list, int change_value)
|
||||
newval += list->entries_per_screen_h;
|
||||
if (newval / list->entries_per_screen_h != list->selected_entry / list->entries_per_screen_h)
|
||||
newval += list->entries_per_screen_h * (-change_value);
|
||||
newval %= list->entries_count;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user