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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user