summaryrefslogtreecommitdiff
path: root/firmware/drivers/fat.h
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2002-11-15 11:20:33 +0000
committerBjörn Stenberg <bjorn@haxx.se>2002-11-15 11:20:33 +0000
commitc442a683220493c6f2e961067f16caf60c6d6a21 (patch)
tree8fdeb8e3f3ae1c10bf18c1752a82ce65feba0631 /firmware/drivers/fat.h
parenta69e98d7cc96a2046cccb9e019f20f47bd9eee15 (diff)
downloadrockbox-c442a683220493c6f2e961067f16caf60c6d6a21.tar.gz
rockbox-c442a683220493c6f2e961067f16caf60c6d6a21.zip
Cleaned up dir handling further.
Fixed a bug where a new dir cluster wasn't completely cleared. Added freecount calculation if unset. Removed a couple of signed mul/divs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2851 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/fat.h')
-rw-r--r--firmware/drivers/fat.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/firmware/drivers/fat.h b/firmware/drivers/fat.h
index 4e5397f806..f05acf3c8f 100644
--- a/firmware/drivers/fat.h
+++ b/firmware/drivers/fat.h
@@ -59,11 +59,8 @@ struct fat_file
59 59
60struct fat_dir 60struct fat_dir
61{ 61{
62 int entry; 62 unsigned int entry;
63 int cached_sec; 63 int sector;
64 int num_sec;
65 unsigned char cached_buf[SECTOR_SIZE];
66 int startcluster;
67 struct fat_file file; 64 struct fat_file file;
68}; 65};
69 66