summaryrefslogtreecommitdiff
path: root/src/core/loader/loader.h
diff options
context:
space:
mode:
authorGravatar bunnei2020-11-24 15:27:22 -0800
committerGravatar GitHub2020-11-24 15:27:22 -0800
commit0832da3e4054d0b47c39e95553b5f3be5848eae9 (patch)
tree1e7688670225c60bbcbc2827cf427a67e1686404 /src/core/loader/loader.h
parenthle: services: Fix a crash with improper NVFlinger lifetime management. (#4977) (diff)
parentfrontend: yuzu (qt): Register a callback for ExecuteProgram. (diff)
downloadyuzu-0832da3e4054d0b47c39e95553b5f3be5848eae9.tar.gz
yuzu-0832da3e4054d0b47c39e95553b5f3be5848eae9.tar.xz
yuzu-0832da3e4054d0b47c39e95553b5f3be5848eae9.zip
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.h4
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:
293 * 293 *
294 * @param system The system context. 294 * @param system The system context.
295 * @param file The bootable file. 295 * @param file The bootable file.
296 * @param program_index Specifies the index within the container of the program to launch.
296 * 297 *
297 * @return the best loader for this file. 298 * @return the best loader for this file.
298 */ 299 */
299std::unique_ptr<AppLoader> GetLoader(Core::System& system, FileSys::VirtualFile file); 300std::unique_ptr<AppLoader> GetLoader(Core::System& system, FileSys::VirtualFile file,
301 std::size_t program_index = 0);
300 302
301} // namespace Loader 303} // namespace Loader