From 9fbdae59f85e4ce1837e0f0f86969cbd0358d62b Mon Sep 17 00:00:00 2001 From: Björn Stenberg Date: Thu, 27 Jun 2002 10:10:30 +0000 Subject: Now uses global_settings.playlist_shuffle git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1233 a1c6a512-1295-4272-9138-f99709370657 --- apps/playlist.c | 4 ++-- 1 file 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 @@ #include "mpeg.h" #include "lcd.h" #include "kernel.h" +#include "settings.h" playlist_info_t playlist; -bool playlist_shuffle = false; char now_playing[256]; @@ -107,7 +107,7 @@ void play_list(char *dir, char *file) /* add track indices to playlist data structure */ add_indices_to_playlist(&playlist); - if(playlist_shuffle) { + if(global_settings.playlist_shuffle) { lcd_puts(0,0,"Shuffling..."); lcd_update(); randomise_playlist( &playlist, current_tick ); -- cgit v1.2.3