1
0
Fork 0
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:
Miika Pekkarinen 2006-08-09 07:41:28 +00:00
parent 29b9146aa7
commit c2eb67bc9f
3 changed files with 16 additions and 0 deletions

View file

@ -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)