diff options
| author | 2015-05-08 17:41:55 -0300 | |
|---|---|---|
| committer | 2015-05-08 22:11:48 -0300 | |
| commit | 7eb413155f84f12336c5559a45930cb2c2bc0539 (patch) | |
| tree | cd04fa072d965cf59b4f333250bfdfa3e717156a /src/core/loader | |
| parent | Process: Support parsing of exheader kernel caps (diff) | |
| download | yuzu-7eb413155f84f12336c5559a45930cb2c2bc0539.tar.gz yuzu-7eb413155f84f12336c5559a45930cb2c2bc0539.tar.xz yuzu-7eb413155f84f12336c5559a45930cb2c2bc0539.zip | |
Loader/NCCH: Fix formatting of braces
Diffstat (limited to 'src/core/loader')
| -rw-r--r-- | src/core/loader/ncch.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/core/loader/ncch.h b/src/core/loader/ncch.h index 1be941f19..29e39d2c0 100644 --- a/src/core/loader/ncch.h +++ b/src/core/loader/ncch.h | |||
| @@ -67,13 +67,13 @@ struct ExeFs_Header { | |||
| 67 | //////////////////////////////////////////////////////////////////////////////////////////////////// | 67 | //////////////////////////////////////////////////////////////////////////////////////////////////// |
| 68 | // ExHeader (executable file system header) headers | 68 | // ExHeader (executable file system header) headers |
| 69 | 69 | ||
| 70 | struct ExHeader_SystemInfoFlags{ | 70 | struct ExHeader_SystemInfoFlags { |
| 71 | u8 reserved[5]; | 71 | u8 reserved[5]; |
| 72 | u8 flag; | 72 | u8 flag; |
| 73 | u8 remaster_version[2]; | 73 | u8 remaster_version[2]; |
| 74 | }; | 74 | }; |
| 75 | 75 | ||
| 76 | struct ExHeader_CodeSegmentInfo{ | 76 | struct ExHeader_CodeSegmentInfo { |
| 77 | u32 address; | 77 | u32 address; |
| 78 | u32 num_max_pages; | 78 | u32 num_max_pages; |
| 79 | u32 code_size; | 79 | u32 code_size; |
| @@ -90,17 +90,17 @@ struct ExHeader_CodeSetInfo { | |||
| 90 | u32 bss_size; | 90 | u32 bss_size; |
| 91 | }; | 91 | }; |
| 92 | 92 | ||
| 93 | struct ExHeader_DependencyList{ | 93 | struct ExHeader_DependencyList { |
| 94 | u8 program_id[0x30][8]; | 94 | u8 program_id[0x30][8]; |
| 95 | }; | 95 | }; |
| 96 | 96 | ||
| 97 | struct ExHeader_SystemInfo{ | 97 | struct ExHeader_SystemInfo { |
| 98 | u64 save_data_size; | 98 | u64 save_data_size; |
| 99 | u8 jump_id[8]; | 99 | u8 jump_id[8]; |
| 100 | u8 reserved_2[0x30]; | 100 | u8 reserved_2[0x30]; |
| 101 | }; | 101 | }; |
| 102 | 102 | ||
| 103 | struct ExHeader_StorageInfo{ | 103 | struct ExHeader_StorageInfo { |
| 104 | u8 ext_save_data_id[8]; | 104 | u8 ext_save_data_id[8]; |
| 105 | u8 system_save_data_id[8]; | 105 | u8 system_save_data_id[8]; |
| 106 | u8 reserved[8]; | 106 | u8 reserved[8]; |
| @@ -108,7 +108,7 @@ struct ExHeader_StorageInfo{ | |||
| 108 | u8 other_attributes; | 108 | u8 other_attributes; |
| 109 | }; | 109 | }; |
| 110 | 110 | ||
| 111 | struct ExHeader_ARM11_SystemLocalCaps{ | 111 | struct ExHeader_ARM11_SystemLocalCaps { |
| 112 | u8 program_id[8]; | 112 | u8 program_id[8]; |
| 113 | u32 core_version; | 113 | u32 core_version; |
| 114 | u8 reserved_flags[2]; | 114 | u8 reserved_flags[2]; |
| @@ -127,17 +127,17 @@ struct ExHeader_ARM11_SystemLocalCaps{ | |||
| 127 | u8 resource_limit_category; | 127 | u8 resource_limit_category; |
| 128 | }; | 128 | }; |
| 129 | 129 | ||
| 130 | struct ExHeader_ARM11_KernelCaps{ | 130 | struct ExHeader_ARM11_KernelCaps { |
| 131 | u32_le descriptors[28]; | 131 | u32_le descriptors[28]; |
| 132 | u8 reserved[0x10]; | 132 | u8 reserved[0x10]; |
| 133 | }; | 133 | }; |
| 134 | 134 | ||
| 135 | struct ExHeader_ARM9_AccessControl{ | 135 | struct ExHeader_ARM9_AccessControl { |
| 136 | u8 descriptors[15]; | 136 | u8 descriptors[15]; |
| 137 | u8 descversion; | 137 | u8 descversion; |
| 138 | }; | 138 | }; |
| 139 | 139 | ||
| 140 | struct ExHeader_Header{ | 140 | struct ExHeader_Header { |
| 141 | ExHeader_CodeSetInfo codeset_info; | 141 | ExHeader_CodeSetInfo codeset_info; |
| 142 | ExHeader_DependencyList dependency_list; | 142 | ExHeader_DependencyList dependency_list; |
| 143 | ExHeader_SystemInfo system_info; | 143 | ExHeader_SystemInfo system_info; |