mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-26 23:36:37 -04:00
Fix for repeat shuffle on SW codec devices
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9453 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f709ad77da
commit
30db2b4ac3
1 changed files with 3 additions and 0 deletions
|
|
@ -2428,7 +2428,10 @@ int playlist_next(int steps)
|
||||||
playlist->first_index = global_settings.resume_first_index = 0;
|
playlist->first_index = global_settings.resume_first_index = 0;
|
||||||
sort_playlist(playlist, false, false);
|
sort_playlist(playlist, false, false);
|
||||||
randomise_playlist(playlist, current_tick, false, true);
|
randomise_playlist(playlist, current_tick, false, true);
|
||||||
|
#if CONFIG_CODEC != SWCODEC
|
||||||
playlist_start(0, 0);
|
playlist_start(0, 0);
|
||||||
|
#endif
|
||||||
|
playlist->index = 0;
|
||||||
index = 0;
|
index = 0;
|
||||||
}
|
}
|
||||||
else if (playlist->in_ram && global_settings.next_folder)
|
else if (playlist->in_ram && global_settings.next_folder)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue