forked from len0rd/rockbox
Unload tagcache from ram when entering USB mode.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10496 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
29b9146aa7
commit
c2eb67bc9f
3 changed files with 16 additions and 0 deletions
|
@ -3295,6 +3295,13 @@ static void load_ramcache(void)
|
|||
|
||||
cpu_boost(false);
|
||||
}
|
||||
|
||||
void tagcache_unload_ramcache(void)
|
||||
{
|
||||
stat.ramcache = false;
|
||||
/* Just to make sure there is no statefile present. */
|
||||
remove(TAGCACHE_STATEFILE);
|
||||
}
|
||||
#endif
|
||||
|
||||
static bool check_all_headers(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue