mirror of
https://github.com/aaru-dps/libaaruformat.git
synced 2025-12-16 19:24:40 +00:00
Fix data size mishap.
This commit is contained in:
@@ -56,7 +56,7 @@ typedef struct IndexEntry
|
|||||||
/**Type of item pointed by this entry */
|
/**Type of item pointed by this entry */
|
||||||
uint32_t blockType;
|
uint32_t blockType;
|
||||||
/**Type of data contained by the block pointed by this entry */
|
/**Type of data contained by the block pointed by this entry */
|
||||||
uint16_t dataType;
|
uint32_t dataType;
|
||||||
/**Offset in file where item is stored */
|
/**Offset in file where item is stored */
|
||||||
uint64_t offset;
|
uint64_t offset;
|
||||||
} IndexEntry;
|
} IndexEntry;
|
||||||
|
|||||||
@@ -100,7 +100,7 @@ typedef struct DdtHeader
|
|||||||
/**Identifier, <see cref="BlockType.DeDuplicationTable" /> */
|
/**Identifier, <see cref="BlockType.DeDuplicationTable" /> */
|
||||||
uint32_t identifier;
|
uint32_t identifier;
|
||||||
/**Type of data pointed by this DDT */
|
/**Type of data pointed by this DDT */
|
||||||
uint16_t type;
|
uint32_t type;
|
||||||
/**Compression algorithm used to compress the DDT */
|
/**Compression algorithm used to compress the DDT */
|
||||||
uint16_t compression;
|
uint16_t compression;
|
||||||
/**Each entry is ((uint8_t offset in file) << shift) + (sector offset in block) */
|
/**Each entry is ((uint8_t offset in file) << shift) + (sector offset in block) */
|
||||||
@@ -134,7 +134,7 @@ typedef struct IndexEntry
|
|||||||
/**Type of item pointed by this entry */
|
/**Type of item pointed by this entry */
|
||||||
uint32_t blockType;
|
uint32_t blockType;
|
||||||
/**Type of data contained by the block pointed by this entry */
|
/**Type of data contained by the block pointed by this entry */
|
||||||
uint16_t dataType;
|
uint32_t dataType;
|
||||||
/**Offset in file where item is stored */
|
/**Offset in file where item is stored */
|
||||||
uint64_t offset;
|
uint64_t offset;
|
||||||
} IndexEntry;
|
} IndexEntry;
|
||||||
@@ -145,7 +145,7 @@ typedef struct BlockHeader
|
|||||||
/**Identifier, <see cref="BlockType.DataBlock" /> */
|
/**Identifier, <see cref="BlockType.DataBlock" /> */
|
||||||
uint32_t identifier;
|
uint32_t identifier;
|
||||||
/**Type of data contained by this block */
|
/**Type of data contained by this block */
|
||||||
uint16_t type;
|
uint32_t type;
|
||||||
/**Compression algorithm used to compress the block */
|
/**Compression algorithm used to compress the block */
|
||||||
uint16_t compression;
|
uint16_t compression;
|
||||||
/**Size in uint8_ts of each sector contained in this block */
|
/**Size in uint8_ts of each sector contained in this block */
|
||||||
|
|||||||
Reference in New Issue
Block a user