mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
RTech: make PakPatchDataHeader_t fields unsigned and add static assert for struct size
This commit is contained in:
parent
63f55578eb
commit
6a60a46fc0
@ -236,14 +236,14 @@ struct PakGlobals_t
|
||||
|
||||
struct PakPatchFileHeader_t
|
||||
{
|
||||
size_t compressedSize;
|
||||
size_t decompressedSize;
|
||||
uint64_t compressedSize;
|
||||
uint64_t decompressedSize;
|
||||
};
|
||||
|
||||
struct PakPatchDataHeader_t
|
||||
{
|
||||
int editStreamSize;
|
||||
int pageCount;
|
||||
uint32_t editStreamSize;
|
||||
uint32_t pageCount;
|
||||
};
|
||||
|
||||
struct PakFileHeader_t
|
||||
@ -700,5 +700,6 @@ static_assert(sizeof(PakFile_t) == 2224); // S3+
|
||||
static_assert(sizeof(PakLoadedInfo_t) == 184);
|
||||
static_assert(sizeof(PakDecoder_t) == 136);
|
||||
static_assert(sizeof(PakPatchFileHeader_t) == 16);
|
||||
static_assert(sizeof(PakPatchDataHeader_t) == 8);
|
||||
|
||||
#endif // RTECH_IPACKFILE_H
|
||||
|
Loading…
x
Reference in New Issue
Block a user