Don't call playlist_start() when changing directories on swcodec devices. Fixes problem with previous dir not working.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9774 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
bc3f2466e6
commit
3f7292e13a
1 changed files with 5 additions and 4 deletions
|
@ -2471,8 +2471,7 @@ int playlist_next(int steps)
|
|||
#if CONFIG_CODEC != SWCODEC
|
||||
playlist_start(0, 0);
|
||||
#endif
|
||||
playlist->index = 0;
|
||||
index = 0;
|
||||
playlist->index = index = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -2486,8 +2485,10 @@ int playlist_next(int steps)
|
|||
ft_build_playlist(tree_get_context(), 0);
|
||||
if (global_settings.playlist_shuffle)
|
||||
playlist_shuffle(current_tick, -1);
|
||||
playlist_start(current_playlist.amount-1,0);
|
||||
index = current_playlist.amount-1;
|
||||
#if CONFIG_CODEC != SWCODEC
|
||||
playlist_start(current_playlist.amount-1, 0);
|
||||
#endif
|
||||
playlist->index = index = current_playlist.amount - 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue