Files
RetroArch/samples/menu/random_range
Anthony Schemel bfb1a09ac4 menu: Scan on the Playlists tab no longer freezes the menu
Scan on the Playlists tab picks one of the other playlists through
menu_playlists_tab_random_selection(), shared by all four menu
drivers, and does nothing when there is no other playlist.
random_range() now stays inside its inclusive range for every rand()
value.

Tests: samples/menu/playlists_scan presses Scan with zero, one and two
playlists on each driver; samples/menu/random_range holds
random_range() to its range and an even spread across it.
2026-10-24 06:49:20 +02:00
..