mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
bugfix PLUGIN_GOTO_ROOT didn't reset previous screen
Change-Id: I971eb5a6890d35c9a06c37526c8107c6afde35e5
This commit is contained in:
parent
7a73ca2230
commit
11552d0710
1 changed files with 4 additions and 5 deletions
|
|
@ -808,13 +808,12 @@ static int load_plugin_screen(char *key)
|
|||
}
|
||||
continue;
|
||||
}
|
||||
else if (ret == PLUGIN_GOTO_ROOT)
|
||||
{
|
||||
ret_val = GO_TO_ROOT;
|
||||
}
|
||||
else
|
||||
{
|
||||
ret_val = GO_TO_PREVIOUS;
|
||||
if (ret == PLUGIN_GOTO_ROOT)
|
||||
ret_val = GO_TO_ROOT;
|
||||
else
|
||||
ret_val = GO_TO_PREVIOUS;
|
||||
/* Prevents infinite loop with WPS, Plugins, Previous Screen*/
|
||||
if (ret == PLUGIN_OK && old_global == GO_TO_WPS && !audio_status())
|
||||
ret_val = GO_TO_ROOT;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue