🎨🎨🎨 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

@@ -73,8 +73,8 @@ namespace DiscImageChef.Filesystems
{
if(partition.Start >= partition.End) return false;
ulong sbSectorOff = 0x10000 / imagePlugin.GetSectorSize();
uint sbSectorSize = 0x1000 / imagePlugin.GetSectorSize();
ulong sbSectorOff = 0x10000 / imagePlugin.ImageInfo.SectorSize;
uint sbSectorSize = 0x1000 / imagePlugin.ImageInfo.SectorSize;
if(sbSectorOff + partition.Start >= partition.End) return false;
@@ -103,8 +103,8 @@ namespace DiscImageChef.Filesystems
XmlFsType = new FileSystemType();
information = "";
ulong sbSectorOff = 0x10000 / imagePlugin.GetSectorSize();
uint sbSectorSize = 0x1000 / imagePlugin.GetSectorSize();
ulong sbSectorOff = 0x10000 / imagePlugin.ImageInfo.SectorSize;
uint sbSectorSize = 0x1000 / imagePlugin.ImageInfo.SectorSize;
byte[] sector = imagePlugin.ReadSectors(sbSectorOff + partition.Start, sbSectorSize);