forked from len0rd/rockbox
Fixed problem with forced reload of dircached filenames when playlist is sorted
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9738 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f635f4a824
commit
24f0a374c6
1 changed files with 1 additions and 0 deletions
|
@ -941,6 +941,7 @@ static int sort_playlist(struct playlist_info* playlist, bool start_current,
|
||||||
/** We need to re-check the song names from disk because qsort can't
|
/** We need to re-check the song names from disk because qsort can't
|
||||||
* sort two arrays at once :/
|
* sort two arrays at once :/
|
||||||
* FIXME: Please implement a better way to do this. */
|
* FIXME: Please implement a better way to do this. */
|
||||||
|
memset(playlist->filenames, 0, playlist->max_playlist_size * sizeof(int));
|
||||||
queue_post(&playlist_queue, PLAYLIST_LOAD_POINTERS, 0);
|
queue_post(&playlist_queue, PLAYLIST_LOAD_POINTERS, 0);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue