1
1
Fork 0
forked from suyu/suyu

Loader/NCCH: Fix formatting of braces

This commit is contained in:
Yuri Kunde Schlesner 2015-05-08 17:41:55 -03:00
parent 2af30d465f
commit 7eb413155f

View file

@ -67,13 +67,13 @@ struct ExeFs_Header {
//////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////
// ExHeader (executable file system header) headers // ExHeader (executable file system header) headers
struct ExHeader_SystemInfoFlags{ struct ExHeader_SystemInfoFlags {
u8 reserved[5]; u8 reserved[5];
u8 flag; u8 flag;
u8 remaster_version[2]; u8 remaster_version[2];
}; };
struct ExHeader_CodeSegmentInfo{ struct ExHeader_CodeSegmentInfo {
u32 address; u32 address;
u32 num_max_pages; u32 num_max_pages;
u32 code_size; u32 code_size;
@ -90,17 +90,17 @@ struct ExHeader_CodeSetInfo {
u32 bss_size; u32 bss_size;
}; };
struct ExHeader_DependencyList{ struct ExHeader_DependencyList {
u8 program_id[0x30][8]; u8 program_id[0x30][8];
}; };
struct ExHeader_SystemInfo{ struct ExHeader_SystemInfo {
u64 save_data_size; u64 save_data_size;
u8 jump_id[8]; u8 jump_id[8];
u8 reserved_2[0x30]; u8 reserved_2[0x30];
}; };
struct ExHeader_StorageInfo{ struct ExHeader_StorageInfo {
u8 ext_save_data_id[8]; u8 ext_save_data_id[8];
u8 system_save_data_id[8]; u8 system_save_data_id[8];
u8 reserved[8]; u8 reserved[8];
@ -108,7 +108,7 @@ struct ExHeader_StorageInfo{
u8 other_attributes; u8 other_attributes;
}; };
struct ExHeader_ARM11_SystemLocalCaps{ struct ExHeader_ARM11_SystemLocalCaps {
u8 program_id[8]; u8 program_id[8];
u32 core_version; u32 core_version;
u8 reserved_flags[2]; u8 reserved_flags[2];
@ -127,17 +127,17 @@ struct ExHeader_ARM11_SystemLocalCaps{
u8 resource_limit_category; u8 resource_limit_category;
}; };
struct ExHeader_ARM11_KernelCaps{ struct ExHeader_ARM11_KernelCaps {
u32_le descriptors[28]; u32_le descriptors[28];
u8 reserved[0x10]; u8 reserved[0x10];
}; };
struct ExHeader_ARM9_AccessControl{ struct ExHeader_ARM9_AccessControl {
u8 descriptors[15]; u8 descriptors[15];
u8 descversion; u8 descversion;
}; };
struct ExHeader_Header{ struct ExHeader_Header {
ExHeader_CodeSetInfo codeset_info; ExHeader_CodeSetInfo codeset_info;
ExHeader_DependencyList dependency_list; ExHeader_DependencyList dependency_list;
ExHeader_SystemInfo system_info; ExHeader_SystemInfo system_info;