mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-11-27 11:54:18 +01:00
Make assert strings consistent
This commit is contained in:
parent
151a3fe7b3
commit
761d206049
@ -50,7 +50,7 @@ struct NRRCertification {
|
|||||||
std::array<u8, 0x100> public_key; // Also known as modulus
|
std::array<u8, 0x100> public_key; // Also known as modulus
|
||||||
std::array<u8, 0x100> signature;
|
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>;
|
using SHA256Hash = std::array<u8, 0x20>;
|
||||||
|
|
||||||
@ -70,7 +70,7 @@ struct NRRHeader {
|
|||||||
u64_le reserved_3;
|
u64_le reserved_3;
|
||||||
};
|
};
|
||||||
#pragma pack()
|
#pragma pack()
|
||||||
static_assert(sizeof(NRRHeader) == 0x350, "NRRHeader has invalid size!");
|
static_assert(sizeof(NRRHeader) == 0x350, "NRRHeader has invalid size.");
|
||||||
|
|
||||||
#pragma pack(1)
|
#pragma pack(1)
|
||||||
struct SegmentHeader {
|
struct SegmentHeader {
|
||||||
@ -78,7 +78,7 @@ struct SegmentHeader {
|
|||||||
u32_le memory_size;
|
u32_le memory_size;
|
||||||
};
|
};
|
||||||
#pragma pack()
|
#pragma pack()
|
||||||
static_assert(sizeof(SegmentHeader) == 0x8, "SegmentHeader has invalid size!");
|
static_assert(sizeof(SegmentHeader) == 0x8, "SegmentHeader has invalid size.");
|
||||||
|
|
||||||
#pragma pack(1)
|
#pragma pack(1)
|
||||||
struct NROHeader {
|
struct NROHeader {
|
||||||
|
Loading…
Reference in New Issue
Block a user