diff options
author | Björn Stenberg <bjorn@haxx.se> | 2002-06-27 10:10:30 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2002-06-27 10:10:30 +0000 |
commit | 9fbdae59f85e4ce1837e0f0f86969cbd0358d62b (patch) | |
tree | 04540a102f0d38c9098509438faa53022e20decd | |
parent | e606fae6a916f0ef5f38d85c800d13c353511f91 (diff) | |
download | rockbox-9fbdae59f85e4ce1837e0f0f86969cbd0358d62b.tar.gz rockbox-9fbdae59f85e4ce1837e0f0f86969cbd0358d62b.zip |
Now uses global_settings.playlist_shuffle
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1233 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/playlist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/playlist.c b/apps/playlist.c index c7d1505ae3..4a2a6fdab2 100644 --- a/apps/playlist.c +++ b/apps/playlist.c | |||
@@ -29,9 +29,9 @@ | |||
29 | #include "mpeg.h" | 29 | #include "mpeg.h" |
30 | #include "lcd.h" | 30 | #include "lcd.h" |
31 | #include "kernel.h" | 31 | #include "kernel.h" |
32 | #include "settings.h" | ||
32 | 33 | ||
33 | playlist_info_t playlist; | 34 | playlist_info_t playlist; |
34 | bool playlist_shuffle = false; | ||
35 | 35 | ||
36 | char now_playing[256]; | 36 | char now_playing[256]; |
37 | 37 | ||
@@ -107,7 +107,7 @@ void play_list(char *dir, char *file) | |||
107 | /* add track indices to playlist data structure */ | 107 | /* add track indices to playlist data structure */ |
108 | add_indices_to_playlist(&playlist); | 108 | add_indices_to_playlist(&playlist); |
109 | 109 | ||
110 | if(playlist_shuffle) { | 110 | if(global_settings.playlist_shuffle) { |
111 | lcd_puts(0,0,"Shuffling..."); | 111 | lcd_puts(0,0,"Shuffling..."); |
112 | lcd_update(); | 112 | lcd_update(); |
113 | randomise_playlist( &playlist, current_tick ); | 113 | randomise_playlist( &playlist, current_tick ); |