mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
REFACTOR: Remove redundant parentheses.
This commit is contained in:
@@ -248,15 +248,15 @@ namespace DiscImageChef.DiscImages
|
||||
|
||||
if(sectorCache.TryGetValue(sectorAddress, out sector)) return sector;
|
||||
|
||||
ulong index = (sectorAddress * vHdr.sectorSize) / vHdr.blockSize;
|
||||
ulong secOff = (sectorAddress * vHdr.sectorSize) % vHdr.blockSize;
|
||||
ulong index = sectorAddress * vHdr.sectorSize / vHdr.blockSize;
|
||||
ulong secOff = sectorAddress * vHdr.sectorSize % vHdr.blockSize;
|
||||
|
||||
uint ibmOff = ibm[index];
|
||||
ulong imageOff;
|
||||
|
||||
if(ibmOff == VDI_EMPTY) return new byte[vHdr.sectorSize];
|
||||
|
||||
imageOff = vHdr.offsetData + (ibmOff * vHdr.blockSize);
|
||||
imageOff = vHdr.offsetData + ibmOff * vHdr.blockSize;
|
||||
|
||||
byte[] cluster = new byte[vHdr.blockSize];
|
||||
imageStream.Seek((long)imageOff, SeekOrigin.Begin);
|
||||
|
||||
Reference in New Issue
Block a user