diff options
Diffstat (limited to 'src/core/loader/ncch.h')
| -rw-r--r-- | src/core/loader/ncch.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/loader/ncch.h b/src/core/loader/ncch.h index 525a5aef5..939b144a6 100644 --- a/src/core/loader/ncch.h +++ b/src/core/loader/ncch.h | |||
| @@ -169,6 +169,13 @@ private: | |||
| 169 | std::vector<u8>& buffer); | 169 | std::vector<u8>& buffer); |
| 170 | 170 | ||
| 171 | /** | 171 | /** |
| 172 | * Reads RomFS of an NCCH file into AppLoader | ||
| 173 | * @param file Handle to file to read from | ||
| 174 | * @return ResultStatus result of function | ||
| 175 | */ | ||
| 176 | const ResultStatus LoadRomFS(File::IOFile& file); | ||
| 177 | |||
| 178 | /** | ||
| 172 | * Loads .code section into memory for booting | 179 | * Loads .code section into memory for booting |
| 173 | * @return ResultStatus result of function | 180 | * @return ResultStatus result of function |
| 174 | */ | 181 | */ |
| @@ -182,6 +189,7 @@ private: | |||
| 182 | u32 ncch_offset; // Offset to NCCH header, can be 0 or after NCSD header | 189 | u32 ncch_offset; // Offset to NCCH header, can be 0 or after NCSD header |
| 183 | u32 exefs_offset; | 190 | u32 exefs_offset; |
| 184 | 191 | ||
| 192 | NCCH_Header ncch_header; | ||
| 185 | ExeFs_Header exefs_header; | 193 | ExeFs_Header exefs_header; |
| 186 | ExHeader_Header exheader_header; | 194 | ExHeader_Header exheader_header; |
| 187 | }; | 195 | }; |