1
0
Fork 0
forked from len0rd/rockbox

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:
William Wilgus 2021-03-10 19:07:06 -05:00 committed by William Wilgus
parent 10b873c407
commit 29fa47d43d
4 changed files with 104 additions and 49 deletions

View file

@ -65,6 +65,7 @@
#include "viewport.h"
#include "list.h"
#include "fixedpoint.h"
#include "open_plugin.h"
#include "debug.h"
@ -279,6 +280,7 @@ static void system_flush(void)
{
playlist_shutdown();
tree_flush();
open_plugin_cache_flush();
call_storage_idle_notifys(true); /*doesnt work on usb and shutdown from ata thread */
}