ncch: Remove C-style struct typedefs

In C++ you can simply just declare it as is.
This commit is contained in:
Lioncash 2014-09-06 13:37:59 -04:00
parent 26cd696843
commit f68776ce13

View file

@ -46,17 +46,17 @@ struct NCCH_Header {
//////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////
// ExeFS (executable file system) headers // ExeFS (executable file system) headers
typedef struct { struct ExeFs_SectionHeader {
char name[8]; char name[8];
u32 offset; u32 offset;
u32 size; u32 size;
} ExeFs_SectionHeader; };
typedef struct { struct ExeFs_Header {
ExeFs_SectionHeader section[8]; ExeFs_SectionHeader section[8];
u8 reserved[0x80]; u8 reserved[0x80];
u8 hashes[8][0x20]; u8 hashes[8][0x20];
} ExeFs_Header; };
//////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////
// ExHeader (executable file system header) headers // ExHeader (executable file system header) headers