diff --git a/lib/libhac/include/nn/hac/delta.h b/lib/libhac/include/nn/hac/delta.h new file mode 100644 index 0000000..0b17d08 --- /dev/null +++ b/lib/libhac/include/nn/hac/delta.h @@ -0,0 +1,26 @@ +#pragma once +#include +#include + +namespace nn +{ +namespace hac +{ + namespace delta + { + static const uint32_t kDeltaStructMagic = _MAKE_STRUCT_MAGIC_U32("NDV0"); + } +#pragma pack(push,1) + struct sDeltaHeader + { + le_uint32_t st_magic; + byte_t reserved_00[4]; + le_uint64_t source_size; + le_uint64_t destination_size; + le_uint64_t header_size; + le_uint64_t body_size; + byte_t reserved_01[0x18]; + }; +#pragma pack(pop) +} +} diff --git a/lib/libhac/libhac.vcxproj b/lib/libhac/libhac.vcxproj index fae1a0e..7b457ae 100644 --- a/lib/libhac/libhac.vcxproj +++ b/lib/libhac/libhac.vcxproj @@ -30,7 +30,7 @@ - + diff --git a/lib/libhac/libhac.vcxproj.filters b/lib/libhac/libhac.vcxproj.filters index 79469bc..fcc95c3 100644 --- a/lib/libhac/libhac.vcxproj.filters +++ b/lib/libhac/libhac.vcxproj.filters @@ -42,7 +42,7 @@ Header Files - + Header Files