diff options
| author | 2014-09-06 13:37:59 -0400 | |
|---|---|---|
| committer | 2014-09-06 13:38:03 -0400 | |
| commit | f68776ce137765dc51f0a8ffb8a91ba119832566 (patch) | |
| tree | 8667a3bb9e56f610bef0aaa0c6a9202192954a64 /src/core/loader | |
| parent | ncch: inline declare some variables in LZSS_Decompress (diff) | |
| download | yuzu-f68776ce137765dc51f0a8ffb8a91ba119832566.tar.gz yuzu-f68776ce137765dc51f0a8ffb8a91ba119832566.tar.xz yuzu-f68776ce137765dc51f0a8ffb8a91ba119832566.zip | |
ncch: Remove C-style struct typedefs
In C++ you can simply just declare it as is.
Diffstat (limited to 'src/core/loader')
| -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 { | |||
| 46 | //////////////////////////////////////////////////////////////////////////////////////////////////// | 46 | //////////////////////////////////////////////////////////////////////////////////////////////////// |
| 47 | // ExeFS (executable file system) headers | 47 | // ExeFS (executable file system) headers |
| 48 | 48 | ||
| 49 | typedef struct { | 49 | struct ExeFs_SectionHeader { |
| 50 | char name[8]; | 50 | char name[8]; |
| 51 | u32 offset; | 51 | u32 offset; |
| 52 | u32 size; | 52 | u32 size; |
| 53 | } ExeFs_SectionHeader; | 53 | }; |
| 54 | 54 | ||
| 55 | typedef struct { | 55 | struct ExeFs_Header { |
| 56 | ExeFs_SectionHeader section[8]; | 56 | ExeFs_SectionHeader section[8]; |
| 57 | u8 reserved[0x80]; | 57 | u8 reserved[0x80]; |
| 58 | u8 hashes[8][0x20]; | 58 | u8 hashes[8][0x20]; |
| 59 | } ExeFs_Header; | 59 | }; |
| 60 | 60 | ||
| 61 | //////////////////////////////////////////////////////////////////////////////////////////////////// | 61 | //////////////////////////////////////////////////////////////////////////////////////////////////// |
| 62 | // ExHeader (executable file system header) headers | 62 | // ExHeader (executable file system header) headers |