mirror of
https://git.suyu.dev/suyu/suyu
synced 2024-11-04 22:37:53 +00:00
Make assert strings consistent
This commit is contained in:
parent
151a3fe7b3
commit
761d206049
1 changed files with 3 additions and 3 deletions
|
@ -50,7 +50,7 @@ struct NRRCertification {
|
|||
std::array<u8, 0x100> public_key; // Also known as modulus
|
||||
std::array<u8, 0x100> signature;
|
||||
};
|
||||
static_assert(sizeof(NRRCertification) == 0x220, "Certification has invalid size!");
|
||||
static_assert(sizeof(NRRCertification) == 0x220, "Certification has invalid size.");
|
||||
|
||||
using SHA256Hash = std::array<u8, 0x20>;
|
||||
|
||||
|
@ -70,7 +70,7 @@ struct NRRHeader {
|
|||
u64_le reserved_3;
|
||||
};
|
||||
#pragma pack()
|
||||
static_assert(sizeof(NRRHeader) == 0x350, "NRRHeader has invalid size!");
|
||||
static_assert(sizeof(NRRHeader) == 0x350, "NRRHeader has invalid size.");
|
||||
|
||||
#pragma pack(1)
|
||||
struct SegmentHeader {
|
||||
|
@ -78,7 +78,7 @@ struct SegmentHeader {
|
|||
u32_le memory_size;
|
||||
};
|
||||
#pragma pack()
|
||||
static_assert(sizeof(SegmentHeader) == 0x8, "SegmentHeader has invalid size!");
|
||||
static_assert(sizeof(SegmentHeader) == 0x8, "SegmentHeader has invalid size.");
|
||||
|
||||
#pragma pack(1)
|
||||
struct NROHeader {
|
||||
|
|
Loading…
Reference in a new issue