mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
🎨🎨🎨 Removed methods in images that only returned what's already in the ImageInfo structure.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user