diff options
| author | 2016-12-15 09:54:25 +0000 | |
|---|---|---|
| committer | 2016-12-15 18:42:38 +0000 | |
| commit | 351b5d23f4b332a36e4b5c7668809deae4de4af1 (patch) | |
| tree | e0f327f749e3caf50a122caff856789d87ce67ff /src/core/loader/loader.h | |
| parent | archive_source_sd_savedata: Add static method to get a specific save data path (diff) | |
| download | yuzu-351b5d23f4b332a36e4b5c7668809deae4de4af1.tar.gz yuzu-351b5d23f4b332a36e4b5c7668809deae4de4af1.tar.xz yuzu-351b5d23f4b332a36e4b5c7668809deae4de4af1.zip | |
loader: Implement ReadProgramId
Diffstat (limited to 'src/core/loader/loader.h')
| -rw-r--r-- | src/core/loader/loader.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/core/loader/loader.h b/src/core/loader/loader.h index 5e3d46638..a6c2a745f 100644 --- a/src/core/loader/loader.h +++ b/src/core/loader/loader.h | |||
| @@ -144,6 +144,15 @@ public: | |||
| 144 | } | 144 | } |
| 145 | 145 | ||
| 146 | /** | 146 | /** |
| 147 | * Get the program id of the application | ||
| 148 | * @param out_program_id Reference to store program id into | ||
| 149 | * @return ResultStatus result of function | ||
| 150 | */ | ||
| 151 | virtual ResultStatus ReadProgramId(u64& out_program_id) { | ||
| 152 | return ResultStatus::ErrorNotImplemented; | ||
| 153 | } | ||
| 154 | |||
| 155 | /** | ||
| 147 | * Get the RomFS of the application | 156 | * Get the RomFS of the application |
| 148 | * Since the RomFS can be huge, we return a file reference instead of copying to a buffer | 157 | * Since the RomFS can be huge, we return a file reference instead of copying to a buffer |
| 149 | * @param romfs_file The file containing the RomFS | 158 | * @param romfs_file The file containing the RomFS |