mirror of
https://github.com/aaru-dps/libaaruformat.git
synced 2025-12-16 19:24:40 +00:00
Implement decoding of single level DDT2.
This commit is contained in:
@@ -81,7 +81,7 @@ int32_t aaruf_read_sector(void *context, uint64_t sectorAddress, uint8_t *data,
|
||||
if(ctx->ddtVersion == 1)
|
||||
errorNo = decode_ddt_entry_v1(ctx, sectorAddress, &offset, &blockOffset, §orStatus);
|
||||
else if(ctx->ddtVersion == 2)
|
||||
return AARUF_ERROR_CANNOT_READ_BLOCK;
|
||||
errorNo = decode_ddt_entry_v2(ctx, sectorAddress, &offset, &blockOffset, §orStatus);
|
||||
|
||||
if(errorNo != AARUF_STATUS_OK) return errorNo;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user