forked from len0rd/rockbox
Dircache state should be checked too to make appflags work in every situation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16082 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
39c597b5e1
commit
7aedb02fcc
1 changed files with 1 additions and 1 deletions
|
|
@ -739,7 +739,7 @@ void dircache_set_appflag(long mask)
|
||||||
*/
|
*/
|
||||||
bool dircache_get_appflag(long mask)
|
bool dircache_get_appflag(long mask)
|
||||||
{
|
{
|
||||||
return appflags & mask;
|
return dircache_is_enabled() && (appflags & mask);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue