summaryrefslogtreecommitdiffstats
path: root/src/core/loader/ncch.h
diff options
context:
space:
mode:
authorbunnei <ericbunnie@gmail.com>2014-06-19 06:11:45 +0200
committerbunnei <ericbunnie@gmail.com>2014-06-25 01:30:06 +0200
commita8c46485203d3ab00ef478bbf9daa7450df14dfd (patch)
tree0f30ad4e7442a13e2e4e9aa68e687b677375c4d0 /src/core/loader/ncch.h
parentNCCH: Fixes reduce unnecessary logging and load logo/banner/etc. sections correctly. (diff)
downloadyuzu-a8c46485203d3ab00ef478bbf9daa7450df14dfd.tar
yuzu-a8c46485203d3ab00ef478bbf9daa7450df14dfd.tar.gz
yuzu-a8c46485203d3ab00ef478bbf9daa7450df14dfd.tar.bz2
yuzu-a8c46485203d3ab00ef478bbf9daa7450df14dfd.tar.lz
yuzu-a8c46485203d3ab00ef478bbf9daa7450df14dfd.tar.xz
yuzu-a8c46485203d3ab00ef478bbf9daa7450df14dfd.tar.zst
yuzu-a8c46485203d3ab00ef478bbf9daa7450df14dfd.zip
Diffstat (limited to 'src/core/loader/ncch.h')
-rw-r--r--src/core/loader/ncch.h8
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:
std::vector<u8>& buffer);
/**
+ * Reads RomFS of an NCCH file into AppLoader
+ * @param file Handle to file to read from
+ * @return ResultStatus result of function
+ */
+ const ResultStatus LoadRomFS(File::IOFile& file);
+
+ /**
* Loads .code section into memory for booting
* @return ResultStatus result of function
*/
@@ -182,6 +189,7 @@ private:
u32 ncch_offset; // Offset to NCCH header, can be 0 or after NCSD header
u32 exefs_offset;
+ NCCH_Header ncch_header;
ExeFs_Header exefs_header;
ExHeader_Header exheader_header;
};