diff options
Diffstat (limited to 'src/core/loader/loader.h')
| -rw-r--r-- | src/core/loader/loader.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/core/loader/loader.h b/src/core/loader/loader.h index ac60b097a..b2e5b13de 100644 --- a/src/core/loader/loader.h +++ b/src/core/loader/loader.h | |||
| @@ -135,6 +135,7 @@ enum class ResultStatus : u16 { | |||
| 135 | ErrorINITooManyKIPs, | 135 | ErrorINITooManyKIPs, |
| 136 | }; | 136 | }; |
| 137 | 137 | ||
| 138 | std::string GetResultStatusString(ResultStatus status); | ||
| 138 | std::ostream& operator<<(std::ostream& os, ResultStatus status); | 139 | std::ostream& operator<<(std::ostream& os, ResultStatus status); |
| 139 | 140 | ||
| 140 | /// Interface for loading an application | 141 | /// Interface for loading an application |
| @@ -290,9 +291,14 @@ protected: | |||
| 290 | 291 | ||
| 291 | /** | 292 | /** |
| 292 | * Identifies a bootable file and return a suitable loader | 293 | * Identifies a bootable file and return a suitable loader |
| 293 | * @param file The bootable file | 294 | * |
| 294 | * @return the best loader for this file | 295 | * @param system The system context. |
| 296 | * @param file The bootable file. | ||
| 297 | * @param program_index Specifies the index within the container of the program to launch. | ||
| 298 | * | ||
| 299 | * @return the best loader for this file. | ||
| 295 | */ | 300 | */ |
| 296 | std::unique_ptr<AppLoader> GetLoader(FileSys::VirtualFile file); | 301 | std::unique_ptr<AppLoader> GetLoader(Core::System& system, FileSys::VirtualFile file, |
| 302 | std::size_t program_index = 0); | ||
| 297 | 303 | ||
| 298 | } // namespace Loader | 304 | } // namespace Loader |