current_tick is now simulated too (hey Felix, this breaks the win32 sim!)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1006 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Daniel Stenberg 2002-06-14 12:45:51 +00:00
parent 973b1a8274
commit 3dabd06e34

View file

@ -171,12 +171,8 @@ void shuffle(void)
if(playlist.amount) {
lcd_puts(0,0,"Shuffling...");
lcd_update();
#ifdef SIMULATOR
randomise_playlist( &playlist, time() );
#else
randomise_playlist( &playlist, current_tick );
#endif
lcd_puts(0,1,"Done.");
lcd_puts(0,1,"Done.");
}
else {
lcd_puts(0,0,"No playlist");