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

@@ -290,9 +290,9 @@ namespace DiscImageChef.Partitions
while(rdbBlock < 16)
{
if(imagePlugin.GetSectors() <= rdbBlock) return false;
if(imagePlugin.ImageInfo.Sectors <= rdbBlock) return false;
if(rdbBlock + sectorOffset >= imagePlugin.GetSectors()) break;
if(rdbBlock + sectorOffset >= imagePlugin.ImageInfo.Sectors) break;
byte[] tmpSector = imagePlugin.ReadSector(rdbBlock + sectorOffset);
uint magic = BigEndianBitConverter.ToUInt32(tmpSector, 0);