mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-07-10 13:29:52 -04:00
root_menu: Start Screen: don't try to resume finished playlist
Go to root menu when Start Screen has been set to "Resume Playback" but playlist is finished https://forums.rockbox.org/index.php?topic=55770 Change-Id: I6939fa313dd5fd6485628e22a2d860763492d5cf
This commit is contained in:
parent
292e8a17a2
commit
86decaab9e
1 changed files with 2 additions and 1 deletions
|
|
@ -854,7 +854,8 @@ static int root_menu_setup_screens(void)
|
|||
else
|
||||
new_screen = global_settings.start_in_screen - 2;
|
||||
|
||||
if (new_screen >= NUM_ITEMS)
|
||||
if (new_screen >= NUM_ITEMS ||
|
||||
(new_screen == GO_TO_WPS && global_status.resume_index == -1))
|
||||
new_screen = GO_TO_ROOT;
|
||||
else if (new_screen == GO_TO_PLUGIN)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue