mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Fix working with Parallel disk images bigger than 4GiB.
This commit is contained in:
@@ -128,9 +128,9 @@ namespace Aaru.DiscImages
|
||||
return new byte[512];
|
||||
|
||||
if(_extended)
|
||||
imageOff = batOff * _clusterBytes;
|
||||
imageOff = (ulong)batOff * _clusterBytes;
|
||||
else
|
||||
imageOff = batOff * 512;
|
||||
imageOff = batOff * 512UL;
|
||||
|
||||
byte[] cluster = new byte[_clusterBytes];
|
||||
_imageStream.Seek((long)imageOff, SeekOrigin.Begin);
|
||||
|
||||
Reference in New Issue
Block a user