diff options
author | William Wilgus <wilgus.william@gmail.com> | 2021-03-10 19:07:06 -0500 |
---|---|---|
committer | William Wilgus <me.theuser@yahoo.com> | 2021-03-18 02:39:30 +0000 |
commit | 29fa47d43d0a9a0fc98fddfa315145ecc7727044 (patch) | |
tree | 14a1954eeff2b720920ee13cb3a184f08fae63b4 /apps/root_menu.c | |
parent | 10b873c407b4fc1448e302b4c023dae9d7e43e3c (diff) | |
download | rockbox-29fa47d43d0a9a0fc98fddfa315145ecc7727044.tar.gz rockbox-29fa47d43d0a9a0fc98fddfa315145ecc7727044.zip |
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
Diffstat (limited to 'apps/root_menu.c')
-rw-r--r-- | apps/root_menu.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/root_menu.c b/apps/root_menu.c index 8df9f87d44..f4f984b823 100644 --- a/apps/root_menu.c +++ b/apps/root_menu.c | |||
@@ -856,6 +856,9 @@ void root_menu(void) | |||
856 | 856 | ||
857 | next_screen = load_plugin_screen(path, param); | 857 | next_screen = load_plugin_screen(path, param); |
858 | 858 | ||
859 | if (next_screen != GO_TO_PLUGIN) | ||
860 | open_plugin_add_path(NULL, NULL, NULL); | ||
861 | |||
859 | /* shortcuts may take several trips through the GO_TO_PLUGIN case | 862 | /* shortcuts may take several trips through the GO_TO_PLUGIN case |
860 | make sure we preserve and restore the origin */ | 863 | make sure we preserve and restore the origin */ |
861 | if (next_screen == GO_TO_PREVIOUS && shortcut_origin != GO_TO_ROOT) | 864 | if (next_screen == GO_TO_PREVIOUS && shortcut_origin != GO_TO_ROOT) |