Fix condition check for sector suffix and prefix in read.c

This commit is contained in:
2025-10-10 15:37:48 +01:00
parent 9e39d6f23d
commit 018395f92d

View File

@@ -967,7 +967,7 @@ int32_t aaruf_read_sector_long(void *context, const uint64_t sector_address, boo
}
if((ctx->sector_suffix == NULL || ctx->sector_prefix == NULL) &&
(ctx->sector_suffix_corrected == NULL || ctx->sector_prefix_corrected == NULL))
(ctx->sector_suffix_ddt == NULL || ctx->sector_prefix_ddt == NULL))
return aaruf_read_sector(context, sector_address, negative, data, length);
bare_length = 0;