summaryrefslogtreecommitdiff
path: root/firmware/export/fat.h
diff options
context:
space:
mode:
authorAmaury Pouly <pamaury@rockbox.org>2010-02-14 19:09:52 +0000
committerAmaury Pouly <pamaury@rockbox.org>2010-02-14 19:09:52 +0000
commit26c0e753d1e19747719dbcae8dc6e84a0a74671a (patch)
treee6ad178bebc9f47e2439cfd8394e686c1317bb5c /firmware/export/fat.h
parente1d8c3ef7c305c94e3de486adb41696ccc18a883 (diff)
downloadrockbox-26c0e753d1e19747719dbcae8dc6e84a0a74671a.tar.gz
rockbox-26c0e753d1e19747719dbcae8dc6e84a0a74671a.zip
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
Diffstat (limited to 'firmware/export/fat.h')
-rw-r--r--firmware/export/fat.h2
1 files changed, 1 insertions, 1 deletions
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,
122 long size, int attr); 122 long size, int attr);
123 123
124extern int fat_opendir(IF_MV2(int volume,) 124extern int fat_opendir(IF_MV2(int volume,)
125 struct fat_dir *ent, unsigned long currdir, 125 struct fat_dir *ent, unsigned long startcluster,
126 const struct fat_dir *parent_dir); 126 const struct fat_dir *parent_dir);
127extern int fat_getnext(struct fat_dir *ent, struct fat_direntry *entry); 127extern int fat_getnext(struct fat_dir *ent, struct fat_direntry *entry);
128extern unsigned int fat_get_cluster_size(IF_MV_NONVOID(int volume)); /* public for debug info screen */ 128extern unsigned int fat_get_cluster_size(IF_MV_NONVOID(int volume)); /* public for debug info screen */