summaryrefslogtreecommitdiff
path: root/firmware/export/fat.h
diff options
context:
space:
mode:
authorHardeep Sidhu <dyp@pobox.com>2003-06-03 18:04:22 +0000
committerHardeep Sidhu <dyp@pobox.com>2003-06-03 18:04:22 +0000
commitfc9b28d0a943033e7224c92c5a387e422dd469af (patch)
tree0ca692ca85e3017c840d561d439aea170d153637 /firmware/export/fat.h
parenta3216f88d6fa51fde151b595d217fe710a9e6f5f (diff)
Small seek optimization -- begin seek at last read cluster if possible
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3720 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/fat.h')
-rw-r--r--firmware/export/fat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/export/fat.h b/firmware/export/fat.h
index ec71fceb05..921f04eb8d 100644
--- a/firmware/export/fat.h
+++ b/firmware/export/fat.h
@@ -51,6 +51,7 @@ struct fat_file
int firstcluster; /* first cluster in file */
int lastcluster; /* cluster of last access */
int lastsector; /* sector of last access */
+ int clusternum; /* current clusternum */
int sectornum; /* sector number in this cluster */
unsigned int direntry; /* short dir entry index from start of dir */
unsigned int direntries; /* number of dir entries used by this file */