diff options
| author | 2017-08-01 19:51:44 -0400 | |
|---|---|---|
| committer | 2017-08-03 20:10:37 -0400 | |
| commit | f5cf9960d9eb5ff5afb39c0356f42035e2dd1ccf (patch) | |
| tree | 851abceebb8196b95583a3bde4d2e97818b96f66 /src/core/loader/ncch.h | |
| parent | Merge pull request #2850 from j-selby/fix_invalid_paths (diff) | |
| download | yuzu-f5cf9960d9eb5ff5afb39c0356f42035e2dd1ccf.tar.gz yuzu-f5cf9960d9eb5ff5afb39c0356f42035e2dd1ccf.tar.xz yuzu-f5cf9960d9eb5ff5afb39c0356f42035e2dd1ccf.zip | |
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: | |||
| 191 | 191 | ||
| 192 | ResultStatus ReadLogo(std::vector<u8>& buffer) override; | 192 | ResultStatus ReadLogo(std::vector<u8>& buffer) override; |
| 193 | 193 | ||
| 194 | /** | ||
| 195 | * Get the program id of the application | ||
| 196 | * @param out_program_id Reference to store program id into | ||
| 197 | * @return ResultStatus result of function | ||
| 198 | */ | ||
| 199 | ResultStatus ReadProgramId(u64& out_program_id) override; | 194 | ResultStatus ReadProgramId(u64& out_program_id) override; |
| 200 | 195 | ||
| 201 | /** | ||
| 202 | * Get the RomFS of the application | ||
| 203 | * @param romfs_file Reference to buffer to store data | ||
| 204 | * @param offset Offset in the file to the RomFS | ||
| 205 | * @param size Size of the RomFS in bytes | ||
| 206 | * @return ResultStatus result of function | ||
| 207 | */ | ||
| 208 | ResultStatus ReadRomFS(std::shared_ptr<FileUtil::IOFile>& romfs_file, u64& offset, | 196 | ResultStatus ReadRomFS(std::shared_ptr<FileUtil::IOFile>& romfs_file, u64& offset, |
| 209 | u64& size) override; | 197 | u64& size) override; |
| 210 | 198 | ||
| 199 | ResultStatus ReadTitle(std::string& title) override; | ||
| 200 | |||
| 211 | private: | 201 | private: |
| 212 | /** | 202 | /** |
| 213 | * Reads an application ExeFS section of an NCCH file into AppLoader (e.g. .code, .logo, etc.) | 203 | * Reads an application ExeFS section of an NCCH file into AppLoader (e.g. .code, .logo, etc.) |