From 1f214f2732ee2b894ab1937882da6cbd3b7e4755 Mon Sep 17 00:00:00 2001 From: Björn Stenberg Date: Wed, 13 Nov 2002 23:16:32 +0000 Subject: Directories are now handled as files, using fat_readwrite() instead of ata_read/write_sector(). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2844 a1c6a512-1295-4272-9138-f99709370657 --- firmware/drivers/fat.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'firmware/drivers/fat.h') diff --git a/firmware/drivers/fat.h b/firmware/drivers/fat.h index 8ef2982279..4e5397f806 100644 --- a/firmware/drivers/fat.h +++ b/firmware/drivers/fat.h @@ -54,6 +54,7 @@ struct fat_file int sectornum; /* sector number in this cluster */ int dirsector; /* sector where the dir entry is located */ int direntry; /* dir entry index in sector */ + bool eof; }; struct fat_dir @@ -63,6 +64,7 @@ struct fat_dir int num_sec; unsigned char cached_buf[SECTOR_SIZE]; int startcluster; + struct fat_file file; }; -- cgit v1.2.3