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:
@@ -76,9 +76,9 @@ namespace DiscImageChef.Filesystems
|
||||
|
||||
public override bool Identify(ImagePlugin imagePlugin, Partition partition)
|
||||
{
|
||||
uint run = HAMMER_VOLHDR_SIZE / imagePlugin.GetSectorSize();
|
||||
uint run = HAMMER_VOLHDR_SIZE / imagePlugin.ImageInfo.SectorSize;
|
||||
|
||||
if(HAMMER_VOLHDR_SIZE % imagePlugin.GetSectorSize() > 0) run++;
|
||||
if(HAMMER_VOLHDR_SIZE % imagePlugin.ImageInfo.SectorSize > 0) run++;
|
||||
|
||||
if(run + partition.Start >= partition.End) return false;
|
||||
|
||||
@@ -99,9 +99,9 @@ namespace DiscImageChef.Filesystems
|
||||
|
||||
HammerSuperBlock hammerSb;
|
||||
|
||||
uint run = HAMMER_VOLHDR_SIZE / imagePlugin.GetSectorSize();
|
||||
uint run = HAMMER_VOLHDR_SIZE / imagePlugin.ImageInfo.SectorSize;
|
||||
|
||||
if(HAMMER_VOLHDR_SIZE % imagePlugin.GetSectorSize() > 0) run++;
|
||||
if(HAMMER_VOLHDR_SIZE % imagePlugin.ImageInfo.SectorSize > 0) run++;
|
||||
|
||||
ulong magic;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user