diff options
author | Lioncash <mathew1800@gmail.com> | 2014-09-06 13:37:59 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2014-09-06 13:38:03 -0400 |
commit | f68776ce137765dc51f0a8ffb8a91ba119832566 (patch) | |
tree | 8667a3bb9e56f610bef0aaa0c6a9202192954a64 /src | |
parent | 26cd696843733f6d169717df2d90bb87461e34a7 (diff) |
ncch: Remove C-style struct typedefs
In C++ you can simply just declare it as is.
Diffstat (limited to 'src')
-rw-r--r-- | src/core/loader/ncch.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/loader/ncch.h b/src/core/loader/ncch.h index 29b59aa11..f40a258b7 100644 --- a/src/core/loader/ncch.h +++ b/src/core/loader/ncch.h @@ -46,17 +46,17 @@ struct NCCH_Header { //////////////////////////////////////////////////////////////////////////////////////////////////// // ExeFS (executable file system) headers -typedef struct { +struct ExeFs_SectionHeader { char name[8]; u32 offset; u32 size; -} ExeFs_SectionHeader; +}; -typedef struct { +struct ExeFs_Header { ExeFs_SectionHeader section[8]; u8 reserved[0x80]; u8 hashes[8][0x20]; -} ExeFs_Header; +}; //////////////////////////////////////////////////////////////////////////////////////////////////// // ExHeader (executable file system header) headers |