summaryrefslogtreecommitdiff
path: root/src/core/loader/ncch.h
diff options
context:
space:
mode:
authorGravatar bunnei2014-06-18 23:53:22 -0400
committerGravatar bunnei2014-06-24 19:30:05 -0400
commit3da2bc6830e05d943c4d131a3167c2df25bff344 (patch)
tree8f77cc09046ea8be33eb9816ffbf89d9cecdf524 /src/core/loader/ncch.h
parentLoader: Implemented AppLoader interface for abstracting application loading. (diff)
downloadyuzu-3da2bc6830e05d943c4d131a3167c2df25bff344.tar.gz
yuzu-3da2bc6830e05d943c4d131a3167c2df25bff344.tar.xz
yuzu-3da2bc6830e05d943c4d131a3167c2df25bff344.zip
NCCH: Fixes reduce unnecessary logging and load logo/banner/etc. sections correctly.
Loader: Added ErrorNotUsed ReturnStatus type to specify when something is not used.
Diffstat (limited to 'src/core/loader/ncch.h')
-rw-r--r--src/core/loader/ncch.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/loader/ncch.h b/src/core/loader/ncch.h
index 3aae5417c..525a5aef5 100644
--- a/src/core/loader/ncch.h
+++ b/src/core/loader/ncch.h
@@ -159,12 +159,13 @@ public:
159private: 159private:
160 160
161 /** 161 /**
162 * Reads an application section of an NCCH file into AppLoader (e.g. .code, .logo, etc.) 162 * Reads an application ExeFS section of an NCCH file into AppLoader (e.g. .code, .logo, etc.)
163 * @param file Handle to file to read from 163 * @param file Handle to file to read from
164 * @param name Name of section to read out of NCCH file 164 * @param name Name of section to read out of NCCH file
165 * @param buffer Buffer to read section into. 165 * @param buffer Buffer to read section into.
166 * @return ResultStatus result of function
166 */ 167 */
167 const ResultStatus LoadSection(File::IOFile& file, const char* name, 168 const ResultStatus LoadSectionExeFS(File::IOFile& file, const char* name,
168 std::vector<u8>& buffer); 169 std::vector<u8>& buffer);
169 170
170 /** 171 /**