diff options
author | bunnei <bunneidev@gmail.com> | 2017-08-01 19:51:44 -0400 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2017-08-03 20:10:37 -0400 |
commit | f5cf9960d9eb5ff5afb39c0356f42035e2dd1ccf (patch) | |
tree | 851abceebb8196b95583a3bde4d2e97818b96f66 /src/core/loader/ncch.h | |
parent | 035716d57bfc2142779e421ee242efc0d51059f6 (diff) |
loader: Expose program title.
Diffstat (limited to 'src/core/loader/ncch.h')
-rw-r--r-- | src/core/loader/ncch.h | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/src/core/loader/ncch.h b/src/core/loader/ncch.h index 0ebd47fd5..e40cef764 100644 --- a/src/core/loader/ncch.h +++ b/src/core/loader/ncch.h @@ -191,23 +191,13 @@ public: ResultStatus ReadLogo(std::vector<u8>& buffer) override; - /** - * Get the program id of the application - * @param out_program_id Reference to store program id into - * @return ResultStatus result of function - */ ResultStatus ReadProgramId(u64& out_program_id) override; - /** - * Get the RomFS of the application - * @param romfs_file Reference to buffer to store data - * @param offset Offset in the file to the RomFS - * @param size Size of the RomFS in bytes - * @return ResultStatus result of function - */ ResultStatus ReadRomFS(std::shared_ptr<FileUtil::IOFile>& romfs_file, u64& offset, u64& size) override; + ResultStatus ReadTitle(std::string& title) override; + private: /** * Reads an application ExeFS section of an NCCH file into AppLoader (e.g. .code, .logo, etc.) |