Compare commits

...

2 Commits

Author SHA1 Message Date
1a16c7b6e2 Add blockAlignmentShift to header in create.c 2026-01-10 14:40:27 +00:00
e598dd97c7 Fix order of includes. 2026-01-06 14:27:50 +00:00
2 changed files with 2 additions and 1 deletions

View File

@@ -419,6 +419,7 @@ AARU_EXPORT void AARU_CALL *aaruf_create(const char *filepath, const uint32_t me
ctx->user_data_ddt_header.overflow = overflow_sectors;
ctx->user_data_ddt_header.start = 0;
ctx->user_data_ddt_header.blockAlignmentShift = parsed_options.block_alignment;
ctx->header.blockAlignmentShift = parsed_options.block_alignment;
ctx->user_data_ddt_header.dataShift = parsed_options.data_shift;
if(parsed_options.table_shift == -1 || !table_shift_found)

View File

@@ -17,8 +17,8 @@
*/
#if defined(_WIN32) || defined(_WIN64)
#include <wincrypt.h>
#include <windows.h>
#include <wincrypt.h>
#endif
#include <aaru.h>