Browse Source
Move SHA256Hash to its original position
It's not needed to have it in its previous position anymore
pull/15/merge
VolcaEM
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
src/core/hle/service/ldr/ldr.cpp
|
|
@ -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{}; |
|
|
|