REFACTOR: Final cleanup of DiscImageChef.Filesystems.

This commit is contained in:
2017-12-24 02:37:41 +00:00
parent ec73a6cdc3
commit 4115698ac8
94 changed files with 5196 additions and 5116 deletions

View File

@@ -42,15 +42,6 @@ namespace DiscImageChef.Filesystems
{
public class FATX : Filesystem
{
[StructLayout(LayoutKind.Sequential, Pack = 1)]
struct FATX_Superblock
{
public uint magic;
public uint id;
public uint sectorsPerCluster;
public uint rootDirectoryCluster;
}
const uint FATX_MAGIC = 0x58544146;
public FATX()
@@ -86,8 +77,7 @@ namespace DiscImageChef.Filesystems
return fatxSb.magic == FATX_MAGIC;
}
public override void GetInformation(ImagePlugin imagePlugin, Partition partition,
out string information)
public override void GetInformation(ImagePlugin imagePlugin, Partition partition, out string information)
{
information = "";
if(imagePlugin.GetSectorSize() < 512) return;
@@ -178,5 +168,14 @@ namespace DiscImageChef.Filesystems
{
return Errno.NotImplemented;
}
[StructLayout(LayoutKind.Sequential, Pack = 1)]
struct FATX_Superblock
{
public uint magic;
public uint id;
public uint sectorsPerCluster;
public uint rootDirectoryCluster;
}
}
}