diff options
author | Rodrigo Locatti <reinuseslisp@airmail.cc> | 2020-09-16 22:59:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-16 22:59:44 +0200 |
commit | b0ae8265ea0aea16bfe37dce96cc3f758fd35feb (patch) | |
tree | 735e838e0e271449cecaedc6977c1831c9e39a3a /src/core/loader/loader.h | |
parent | Merge pull request #4658 from lioncash/copy3 (diff) | |
parent | core/loader: Remove dependencies on the global system instance (diff) | |
download | yuzu-b0ae8265ea0aea16bfe37dce96cc3f758fd35feb.tar yuzu-b0ae8265ea0aea16bfe37dce96cc3f758fd35feb.tar.gz yuzu-b0ae8265ea0aea16bfe37dce96cc3f758fd35feb.tar.bz2 yuzu-b0ae8265ea0aea16bfe37dce96cc3f758fd35feb.tar.lz yuzu-b0ae8265ea0aea16bfe37dce96cc3f758fd35feb.tar.xz yuzu-b0ae8265ea0aea16bfe37dce96cc3f758fd35feb.tar.zst yuzu-b0ae8265ea0aea16bfe37dce96cc3f758fd35feb.zip |
Diffstat (limited to 'src/core/loader/loader.h')
-rw-r--r-- | src/core/loader/loader.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/core/loader/loader.h b/src/core/loader/loader.h index 227ecc704..ac60b097a 100644 --- a/src/core/loader/loader.h +++ b/src/core/loader/loader.h @@ -15,6 +15,10 @@ #include "core/file_sys/control_metadata.h" #include "core/file_sys/vfs.h" +namespace Core { +class System; +} + namespace FileSys { class NACP; } // namespace FileSys @@ -154,9 +158,10 @@ public: /** * Load the application and return the created Process instance * @param process The newly created process. + * @param system The system that this process is being loaded under. * @return The status result of the operation. */ - virtual LoadResult Load(Kernel::Process& process) = 0; + virtual LoadResult Load(Kernel::Process& process, Core::System& system) = 0; /** * Get the code (typically .code section) of the application |