mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
REFACTOR: Final cleanup of DiscImageChef.Filesystems.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user