Move SHA256Hash to its original position

It's not needed to have it in its previous position anymore
This commit is contained in:
VolcaEM 2020-06-18 15:45:47 +02:00 committed by GitHub
parent bd9495c9ab
commit 684dfbf209
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -52,8 +52,6 @@ struct NRRCertification {
}; };
static_assert(sizeof(NRRCertification) == 0x220, "NRRCertification has invalid size."); static_assert(sizeof(NRRCertification) == 0x220, "NRRCertification has invalid size.");
using SHA256Hash = std::array<u8, 0x20>;
struct NRRHeader { struct NRRHeader {
u32_le magic; u32_le magic;
u32_le certification_signature_key_generation; // 9.0.0+ u32_le certification_signature_key_generation; // 9.0.0+
@ -99,6 +97,8 @@ struct NROHeader {
}; };
static_assert(sizeof(NROHeader) == 0x80, "NROHeader has invalid size."); static_assert(sizeof(NROHeader) == 0x80, "NROHeader has invalid size.");
using SHA256Hash = std::array<u8, 0x20>;
struct NROInfo { struct NROInfo {
SHA256Hash hash{}; SHA256Hash hash{};
VAddr nro_address{}; VAddr nro_address{};