summaryrefslogtreecommitdiff
path: root/src/core/loader
diff options
context:
space:
mode:
authorGravatar Lioncash2014-09-06 13:37:59 -0400
committerGravatar Lioncash2014-09-06 13:38:03 -0400
commitf68776ce137765dc51f0a8ffb8a91ba119832566 (patch)
tree8667a3bb9e56f610bef0aaa0c6a9202192954a64 /src/core/loader
parentncch: inline declare some variables in LZSS_Decompress (diff)
downloadyuzu-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.h8
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
49typedef struct { 49struct 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
55typedef struct { 55struct 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