summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2015-05-08 22:41:55 +0200
committerYuri Kunde Schlesner <yuriks@yuriks.net>2015-05-09 03:11:48 +0200
commit7eb413155f84f12336c5559a45930cb2c2bc0539 (patch)
treecd04fa072d965cf59b4f333250bfdfa3e717156a
parentProcess: Support parsing of exheader kernel caps (diff)
downloadyuzu-7eb413155f84f12336c5559a45930cb2c2bc0539.tar
yuzu-7eb413155f84f12336c5559a45930cb2c2bc0539.tar.gz
yuzu-7eb413155f84f12336c5559a45930cb2c2bc0539.tar.bz2
yuzu-7eb413155f84f12336c5559a45930cb2c2bc0539.tar.lz
yuzu-7eb413155f84f12336c5559a45930cb2c2bc0539.tar.xz
yuzu-7eb413155f84f12336c5559a45930cb2c2bc0539.tar.zst
yuzu-7eb413155f84f12336c5559a45930cb2c2bc0539.zip
-rw-r--r--src/core/loader/ncch.h18
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 {
////////////////////////////////////////////////////////////////////////////////////////////////////
// ExHeader (executable file system header) headers
-struct ExHeader_SystemInfoFlags{
+struct ExHeader_SystemInfoFlags {
u8 reserved[5];
u8 flag;
u8 remaster_version[2];
};
-struct ExHeader_CodeSegmentInfo{
+struct ExHeader_CodeSegmentInfo {
u32 address;
u32 num_max_pages;
u32 code_size;
@@ -90,17 +90,17 @@ struct ExHeader_CodeSetInfo {
u32 bss_size;
};
-struct ExHeader_DependencyList{
+struct ExHeader_DependencyList {
u8 program_id[0x30][8];
};
-struct ExHeader_SystemInfo{
+struct ExHeader_SystemInfo {
u64 save_data_size;
u8 jump_id[8];
u8 reserved_2[0x30];
};
-struct ExHeader_StorageInfo{
+struct ExHeader_StorageInfo {
u8 ext_save_data_id[8];
u8 system_save_data_id[8];
u8 reserved[8];
@@ -108,7 +108,7 @@ struct ExHeader_StorageInfo{
u8 other_attributes;
};
-struct ExHeader_ARM11_SystemLocalCaps{
+struct ExHeader_ARM11_SystemLocalCaps {
u8 program_id[8];
u32 core_version;
u8 reserved_flags[2];
@@ -127,17 +127,17 @@ struct ExHeader_ARM11_SystemLocalCaps{
u8 resource_limit_category;
};
-struct ExHeader_ARM11_KernelCaps{
+struct ExHeader_ARM11_KernelCaps {
u32_le descriptors[28];
u8 reserved[0x10];
};
-struct ExHeader_ARM9_AccessControl{
+struct ExHeader_ARM9_AccessControl {
u8 descriptors[15];
u8 descversion;
};
-struct ExHeader_Header{
+struct ExHeader_Header {
ExHeader_CodeSetInfo codeset_info;
ExHeader_DependencyList dependency_list;
ExHeader_SystemInfo system_info;