diff options
Diffstat (limited to 'src/core/loader')
| -rw-r--r-- | src/core/loader/ncch.cpp | 2 | ||||
| -rw-r--r-- | src/core/loader/ncch.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/loader/ncch.cpp b/src/core/loader/ncch.cpp index 2e4510857..fadd7b16b 100644 --- a/src/core/loader/ncch.cpp +++ b/src/core/loader/ncch.cpp | |||
| @@ -163,7 +163,7 @@ ResultStatus AppLoader_NCCH::LoadExec() { | |||
| 163 | Kernel::g_current_process->ideal_processor = | 163 | Kernel::g_current_process->ideal_processor = |
| 164 | exheader_header.arm11_system_local_caps.ideal_processor; | 164 | exheader_header.arm11_system_local_caps.ideal_processor; |
| 165 | 165 | ||
| 166 | // Copy data while converting endianess | 166 | // Copy data while converting endianness |
| 167 | std::array<u32, ARRAY_SIZE(exheader_header.arm11_kernel_caps.descriptors)> kernel_caps; | 167 | std::array<u32, ARRAY_SIZE(exheader_header.arm11_kernel_caps.descriptors)> kernel_caps; |
| 168 | std::copy_n(exheader_header.arm11_kernel_caps.descriptors, kernel_caps.size(), | 168 | std::copy_n(exheader_header.arm11_kernel_caps.descriptors, kernel_caps.size(), |
| 169 | begin(kernel_caps)); | 169 | begin(kernel_caps)); |
diff --git a/src/core/loader/ncch.h b/src/core/loader/ncch.h index 04350d006..f8718d063 100644 --- a/src/core/loader/ncch.h +++ b/src/core/loader/ncch.h | |||
| @@ -11,7 +11,7 @@ | |||
| 11 | #include "core/loader/loader.h" | 11 | #include "core/loader/loader.h" |
| 12 | 12 | ||
| 13 | //////////////////////////////////////////////////////////////////////////////////////////////////// | 13 | //////////////////////////////////////////////////////////////////////////////////////////////////// |
| 14 | /// NCCH header (Note: "NCCH" appears to be a publically unknown acronym) | 14 | /// NCCH header (Note: "NCCH" appears to be a publicly unknown acronym) |
| 15 | 15 | ||
| 16 | struct NCCH_Header { | 16 | struct NCCH_Header { |
| 17 | u8 signature[0x100]; | 17 | u8 signature[0x100]; |