mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Open Plugin cache plugin entry when possible
leave plugin entries in ram and try not to save them unless necessary doesn't use more space just a bit of careful ordering with the buffer Change-Id: I1973e9ad4655c2544f596b37cee35601a0cffa94
This commit is contained in:
parent
10b873c407
commit
29fa47d43d
4 changed files with 104 additions and 49 deletions
|
@ -856,6 +856,9 @@ void root_menu(void)
|
|||
|
||||
next_screen = load_plugin_screen(path, param);
|
||||
|
||||
if (next_screen != GO_TO_PLUGIN)
|
||||
open_plugin_add_path(NULL, NULL, NULL);
|
||||
|
||||
/* shortcuts may take several trips through the GO_TO_PLUGIN case
|
||||
make sure we preserve and restore the origin */
|
||||
if (next_screen == GO_TO_PREVIOUS && shortcut_origin != GO_TO_ROOT)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue