diff options
author | Feng Chen <VonChenPlus@gmail.com> | 2021-07-20 07:10:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-20 07:10:05 +0200 |
commit | 07073734ed3785d1dee487f0c898a645fbd5f03c (patch) | |
tree | e7c72b615b7a551cc1fb8a6a336bce60e5a0d314 /src/core/loader/loader.h | |
parent | Merge pull request #6580 from ReinUsesLisp/xfb-radv (diff) | |
download | yuzu-07073734ed3785d1dee487f0c898a645fbd5f03c.tar yuzu-07073734ed3785d1dee487f0c898a645fbd5f03c.tar.gz yuzu-07073734ed3785d1dee487f0c898a645fbd5f03c.tar.bz2 yuzu-07073734ed3785d1dee487f0c898a645fbd5f03c.tar.lz yuzu-07073734ed3785d1dee487f0c898a645fbd5f03c.tar.xz yuzu-07073734ed3785d1dee487f0c898a645fbd5f03c.tar.zst yuzu-07073734ed3785d1dee487f0c898a645fbd5f03c.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/loader/loader.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/core/loader/loader.h b/src/core/loader/loader.h index edc8bb257..7b1bac3f7 100644 --- a/src/core/loader/loader.h +++ b/src/core/loader/loader.h @@ -227,6 +227,17 @@ public: } /** + * Get the program ids of the application + * + * @param[out] out_program_ids Reference to store program ids into + * + * @return ResultStatus result of function + */ + virtual ResultStatus ReadProgramIds(std::vector<u64>& out_program_ids) { + return ResultStatus::ErrorNotImplemented; + } + + /** * Get the RomFS of the application * Since the RomFS can be huge, we return a file reference instead of copying to a buffer * @@ -324,6 +335,6 @@ protected: * @return the best loader for this file. */ std::unique_ptr<AppLoader> GetLoader(Core::System& system, FileSys::VirtualFile file, - std::size_t program_index = 0); + u64 program_id = 0, std::size_t program_index = 0); } // namespace Loader |