diff options
| author | bunnei <bunneidev@gmail.com> | 2020-11-24 15:16:24 -0800 |
|---|---|---|
| committer | bunnei <bunneidev@gmail.com> | 2020-11-24 15:16:24 -0800 |
| commit | 9f8d7748d9d3daef2efdd68e67089f529cca8275 (patch) | |
| tree | 859ab2bb7b8350bf2c59cac4c84310a9e8aaff55 /src/core/loader/loader.h | |
| parent | 5f53d285aa9cb84cf7ba699eeb9d3a511b06a35a (diff) | |
core: loader: Implement support for loading indexed programs.
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 8dc2d7615b..36e79e71dd 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 |
