summaryrefslogtreecommitdiff
path: root/firmware/export
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
parente1d8c3ef7c305c94e3de486adb41696ccc18a883 (diff)
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')
-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,
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 */