mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-23 03:20:09 +00: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
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user