mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-22 23:02:47 +01:00
ncch: Remove C-style struct typedefs
In C++ you can simply just declare it as is.
This commit is contained in:
parent
26cd696843
commit
f68776ce13
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue