mirror of
https://github.com/aaru-dps/libaaruformat.git
synced 2025-12-16 11:14:39 +00:00
Update sector write logic to use SectorStatusDumped for improved status tracking
This commit is contained in:
@@ -101,7 +101,7 @@ int convert(char *input_path, char *output_path)
|
||||
}
|
||||
|
||||
// Write sector to output
|
||||
res = aaruf_write_sector(output_ctx, sector, sector_data, 0, read_length);
|
||||
res = aaruf_write_sector(output_ctx, sector, sector_data, SectorStatusDumped, read_length);
|
||||
if(res != AARUF_STATUS_OK)
|
||||
{
|
||||
printf("\nError %d when writing sector %llu to output image.\n", res, (unsigned long long)sector);
|
||||
|
||||
Reference in New Issue
Block a user