diff options
author | bunnei <bunneidev@gmail.com> | 2020-11-24 15:27:22 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-24 15:27:22 -0800 |
commit | 0832da3e4054d0b47c39e95553b5f3be5848eae9 (patch) | |
tree | 1e7688670225c60bbcbc2827cf427a67e1686404 /src/core/loader/loader.h | |
parent | 7791cc8c2e585dcc377e22a26f548db914250a5d (diff) | |
parent | 4fbe4da911d534e1b4204036de75c320750d84c9 (diff) |
Merge pull request #4799 from bunnei/execute-program
core: Refactor loader and implement ExecuteProgram
Diffstat (limited to 'src/core/loader/loader.h')
-rw-r--r-- | src/core/loader/loader.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/loader/loader.h b/src/core/loader/loader.h index 8dc2d7615..36e79e71d 100644 --- a/src/core/loader/loader.h +++ b/src/core/loader/loader.h @@ -293,9 +293,11 @@ protected: * * @param system The system context. * @param file The bootable file. + * @param program_index Specifies the index within the container of the program to launch. * * @return the best loader for this file. */ -std::unique_ptr<AppLoader> GetLoader(Core::System& system, FileSys::VirtualFile file); +std::unique_ptr<AppLoader> GetLoader(Core::System& system, FileSys::VirtualFile file, + std::size_t program_index = 0); } // namespace Loader |