mirror of
https://github.com/jakcron/nstool
synced 2024-11-22 21:49:30 +00:00
[hac] Add delta.h
This commit is contained in:
parent
0d3cb6564b
commit
1c338f1176
3 changed files with 28 additions and 2 deletions
26
lib/libhac/include/nn/hac/delta.h
Normal file
26
lib/libhac/include/nn/hac/delta.h
Normal file
|
@ -0,0 +1,26 @@
|
|||
#pragma once
|
||||
#include <fnd/types.h>
|
||||
#include <nn/hac/macro.h>
|
||||
|
||||
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)
|
||||
}
|
||||
}
|
|
@ -30,7 +30,7 @@
|
|||
<ClInclude Include="include\nn\hac\ApplicationControlPropertyUtils.h" />
|
||||
<ClInclude Include="include\nn\hac\cnmt.h" />
|
||||
<ClInclude Include="include\nn\hac\ContentMetaBinary.h" />
|
||||
<ClInclude Include="include\nn\hac\elf.h" />
|
||||
<ClInclude Include="include\nn\hac\delta.h" />
|
||||
<ClInclude Include="include\nn\hac\fac.h" />
|
||||
<ClInclude Include="include\nn\hac\FileSystemAccessControlBinary.h" />
|
||||
<ClInclude Include="include\nn\hac\HandleTableSizeEntry.h" />
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
<ClInclude Include="include\nn\hac\ContentMetaBinary.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\nn\hac\elf.h">
|
||||
<ClInclude Include="include\nn\hac\delta.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\nn\hac\fac.h">
|
||||
|
|
Loading…
Reference in a new issue