mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Fix reading ISO9660 directories that are not sector multiples.
This commit is contained in:
@@ -63,7 +63,10 @@ namespace DiscImageChef.Filesystems.ISO9660
|
||||
if(currentExtent == 0) return Errno.InvalidArgument;
|
||||
|
||||
// TODO: XA, High Sierra
|
||||
byte[] directoryBuffer = image.ReadSectors(currentExtent, entry.Value.Size / 2048);
|
||||
uint dirSizeInSectors = entry.Value.Size / 2048;
|
||||
if(entry.Value.Size % 2048 > 0) dirSizeInSectors++;
|
||||
|
||||
byte[] directoryBuffer = image.ReadSectors(currentExtent, dirSizeInSectors);
|
||||
|
||||
// TODO: Decode Joliet
|
||||
currentDirectory = cdi
|
||||
|
||||
Reference in New Issue
Block a user