diff options
| author | 2015-10-10 21:50:10 -0400 | |
|---|---|---|
| committer | 2015-10-10 22:34:17 -0400 | |
| commit | 2706394384afea55069848d5b337e60fbe81c336 (patch) | |
| tree | 4bc9ebb08be7da995a3a16a6de84976b08377383 /src/core/loader/ncch.h | |
| parent | Merge pull request #1195 from Gareth422/secondary (diff) | |
| download | yuzu-2706394384afea55069848d5b337e60fbe81c336.tar.gz yuzu-2706394384afea55069848d5b337e60fbe81c336.tar.xz yuzu-2706394384afea55069848d5b337e60fbe81c336.zip | |
Loader: Implement encryption check
Diffstat (limited to 'src/core/loader/ncch.h')
| -rw-r--r-- | src/core/loader/ncch.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/loader/ncch.h b/src/core/loader/ncch.h index d875e4cf3..fd7c65814 100644 --- a/src/core/loader/ncch.h +++ b/src/core/loader/ncch.h | |||
| @@ -23,7 +23,7 @@ struct NCCH_Header { | |||
| 23 | u16 maker_code; | 23 | u16 maker_code; |
| 24 | u16 version; | 24 | u16 version; |
| 25 | u8 reserved_0[4]; | 25 | u8 reserved_0[4]; |
| 26 | u8 program_id[8]; | 26 | u64_le program_id; |
| 27 | u8 reserved_1[0x10]; | 27 | u8 reserved_1[0x10]; |
| 28 | u8 logo_region_hash[0x20]; | 28 | u8 logo_region_hash[0x20]; |
| 29 | u8 product_code[0x10]; | 29 | u8 product_code[0x10]; |
| @@ -109,7 +109,7 @@ struct ExHeader_StorageInfo { | |||
| 109 | }; | 109 | }; |
| 110 | 110 | ||
| 111 | struct ExHeader_ARM11_SystemLocalCaps { | 111 | struct ExHeader_ARM11_SystemLocalCaps { |
| 112 | u8 program_id[8]; | 112 | u64_le program_id; |
| 113 | u32 core_version; | 113 | u32 core_version; |
| 114 | u8 reserved_flags[2]; | 114 | u8 reserved_flags[2]; |
| 115 | union { | 115 | union { |