🎨🎨🎨 Removed methods in images that only returned what's already in the ImageInfo structure.

This commit is contained in:
2017-12-26 02:51:10 +00:00
parent 03a4e286cc
commit a002253fa4
135 changed files with 2111 additions and 8526 deletions

View File

@@ -69,7 +69,7 @@ namespace DiscImageChef.Filesystems
public override bool Identify(ImagePlugin imagePlugin, Partition partition)
{
if(imagePlugin.GetSectorSize() < 256) return false;
if(imagePlugin.ImageInfo.SectorSize < 256) return false;
byte[] sector = imagePlugin.ReadSector(partition.Start);
LIF_SystemBlock lifSb = BigEndianMarshal.ByteArrayToStructureBigEndian<LIF_SystemBlock>(sector);
@@ -82,7 +82,7 @@ namespace DiscImageChef.Filesystems
{
information = "";
if(imagePlugin.GetSectorSize() < 256) return;
if(imagePlugin.ImageInfo.SectorSize < 256) return;
byte[] sector = imagePlugin.ReadSector(partition.Start);
LIF_SystemBlock lifSb = BigEndianMarshal.ByteArrayToStructureBigEndian<LIF_SystemBlock>(sector);