forked from len0rd/rockbox
Cleanup tree.c cache handling a bit.
* Rename stuff to not re-use the term dircache * Move cache to own struct * Encapsulate retrieving entries a bit git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30242 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
fa5cf8edea
commit
98096970e0
9 changed files with 74 additions and 69 deletions
|
@ -136,7 +136,7 @@ static enum image_type image_type = IMAGE_UNKNOWN;
|
|||
static void get_pic_list(void)
|
||||
{
|
||||
struct tree_context *tree = rb->tree_get_context();
|
||||
struct entry *dircache = tree->dircache;
|
||||
struct entry *dircache = tree->cache.entries;
|
||||
int i;
|
||||
char *pname;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue