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

@@ -54,7 +54,7 @@ namespace DiscImageChef.Partitions
{
partitions = new List<Partition>();
if(31 + sectorOffset >= imagePlugin.GetSectors()) return false;
if(31 + sectorOffset >= imagePlugin.ImageInfo.Sectors) return false;
byte[] sector = imagePlugin.ReadSector(31 + sectorOffset);
if(sector.Length < 512) return false;