From 26c0e753d1e19747719dbcae8dc6e84a0a74671a Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Sun, 14 Feb 2010 19:09:52 +0000 Subject: Rewrite dircache generation to take advantage for the FAT code. Reduce RAM usage by ~30Kb and binsize by at least several hundreds bytes. Also remove the directory depth limit of dircache. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24657 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/fat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/export/fat.h') diff --git a/firmware/export/fat.h b/firmware/export/fat.h index 9a6bcfa1db..638a659f7a 100644 --- a/firmware/export/fat.h +++ b/firmware/export/fat.h @@ -122,7 +122,7 @@ extern int fat_rename(struct fat_file* file, long size, int attr); extern int fat_opendir(IF_MV2(int volume,) - struct fat_dir *ent, unsigned long currdir, + struct fat_dir *ent, unsigned long startcluster, const struct fat_dir *parent_dir); extern int fat_getnext(struct fat_dir *ent, struct fat_direntry *entry); extern unsigned int fat_get_cluster_size(IF_MV_NONVOID(int volume)); /* public for debug info screen */ -- cgit v1.2.3