From c442a683220493c6f2e961067f16caf60c6d6a21 Mon Sep 17 00:00:00 2001 From: Björn Stenberg Date: Fri, 15 Nov 2002 11:20:33 +0000 Subject: 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 --- firmware/drivers/fat.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'firmware/drivers/fat.h') 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 struct fat_dir { - int entry; - int cached_sec; - int num_sec; - unsigned char cached_buf[SECTOR_SIZE]; - int startcluster; + unsigned int entry; + int sector; struct fat_file file; }; -- cgit v1.2.3