summaryrefslogtreecommitdiff
path: root/apps/misc.c
diff options
context:
space:
mode:
authorWilliam Wilgus <wilgus.william@gmail.com>2021-03-10 19:07:06 -0500
committerWilliam Wilgus <me.theuser@yahoo.com>2021-03-18 02:39:30 +0000
commit29fa47d43d0a9a0fc98fddfa315145ecc7727044 (patch)
tree14a1954eeff2b720920ee13cb3a184f08fae63b4 /apps/misc.c
parent10b873c407b4fc1448e302b4c023dae9d7e43e3c (diff)
downloadrockbox-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/misc.c')
-rw-r--r--apps/misc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/misc.c b/apps/misc.c
index 3a8798fec0..96ad534c68 100644
--- a/apps/misc.c
+++ b/apps/misc.c
@@ -65,6 +65,7 @@
65#include "viewport.h" 65#include "viewport.h"
66#include "list.h" 66#include "list.h"
67#include "fixedpoint.h" 67#include "fixedpoint.h"
68#include "open_plugin.h"
68 69
69#include "debug.h" 70#include "debug.h"
70 71
@@ -279,6 +280,7 @@ static void system_flush(void)
279{ 280{
280 playlist_shutdown(); 281 playlist_shutdown();
281 tree_flush(); 282 tree_flush();
283 open_plugin_cache_flush();
282 call_storage_idle_notifys(true); /*doesnt work on usb and shutdown from ata thread */ 284 call_storage_idle_notifys(true); /*doesnt work on usb and shutdown from ata thread */
283} 285}
284 286