Cache root directory for FAT12 and FAT16.

This commit is contained in:
2019-04-26 01:29:29 +01:00
parent 8bb291246b
commit 4d28330dcb
4 changed files with 97 additions and 40 deletions

View File

@@ -42,17 +42,18 @@ namespace DiscImageChef.Filesystems.FAT
// X68K uses cdate/adate from direntry for extending filename
public partial class FAT : IReadOnlyFilesystem
{
bool debug;
bool fat12;
bool fat16;
bool fat32;
ulong fatFirstSector;
ulong firstClusterSector;
bool mounted;
uint reservedSectors;
uint sectorsPerCluster;
uint sectorsPerFat;
bool useFirstFat;
bool debug;
bool fat12;
bool fat16;
bool fat32;
ulong fatFirstSector;
ulong firstClusterSector;
bool mounted;
uint reservedSectors;
Dictionary<string, DirectoryEntry> rootDirectoryCache;
uint sectorsPerCluster;
uint sectorsPerFat;
bool useFirstFat;
public FileSystemType XmlFsType { get; private set; }