mirror of
https://github.com/aaru-dps/Aaru.Server.git
synced 2025-12-16 19:24:27 +00:00
* DiscImageChef.DiscImages/QED.cs:
Correct calculation of tables. * DiscImageChef.DiscImages/VDI.cs: Correct IBM reading. * DiscImageChef.Filesystems/FAT.cs: Not all FAT16 implementations set media descriptor correctly. * DiscImageChef/Commands/Compare.cs: Do not reuse FiltersList, for some reason same filter is being returned already opened.
This commit is contained in:
@@ -194,11 +194,12 @@ namespace DiscImageChef.DiscImages
|
||||
DicConsole.DebugWriteLine("VirtualBox plugin", "vHdr.parentUuid = {0}", vHdr.parentUuid);
|
||||
|
||||
DicConsole.DebugWriteLine("VirtualBox plugin", "Reading Image Block Map");
|
||||
stream.Seek(vHdr.offsetBlocks, SeekOrigin.Begin);
|
||||
IBM = new uint[vHdr.blocks];
|
||||
byte[] IBM_b = new byte[vHdr.blocks * 4];
|
||||
stream.Read(IBM_b, 0, IBM_b.Length);
|
||||
for(int i = 0; i < IBM.Length; i++)
|
||||
IBM[i] = BitConverter.ToUInt32(IBM_b, i * 4);
|
||||
for(int i = 0; i < IBM.Length; i++)
|
||||
IBM[i] = BitConverter.ToUInt32(IBM_b, i * 4);
|
||||
|
||||
sectorCache = new Dictionary<ulong, byte[]>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user