diff options
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 @@ | |||
| 15 | #include "core/file_sys/control_metadata.h" | 15 | #include "core/file_sys/control_metadata.h" |
| 16 | #include "core/file_sys/vfs.h" | 16 | #include "core/file_sys/vfs.h" |
| 17 | 17 | ||
| 18 | namespace Core { | ||
| 19 | class System; | ||
| 20 | } | ||
| 21 | |||
| 18 | namespace FileSys { | 22 | namespace FileSys { |
| 19 | class NACP; | 23 | class NACP; |
| 20 | } // namespace FileSys | 24 | } // namespace FileSys |
| @@ -154,9 +158,10 @@ public: | |||
| 154 | /** | 158 | /** |
| 155 | * Load the application and return the created Process instance | 159 | * Load the application and return the created Process instance |
| 156 | * @param process The newly created process. | 160 | * @param process The newly created process. |
| 161 | * @param system The system that this process is being loaded under. | ||
| 157 | * @return The status result of the operation. | 162 | * @return The status result of the operation. |
| 158 | */ | 163 | */ |
| 159 | virtual LoadResult Load(Kernel::Process& process) = 0; | 164 | virtual LoadResult Load(Kernel::Process& process, Core::System& system) = 0; |
| 160 | 165 | ||
| 161 | /** | 166 | /** |
| 162 | * Get the code (typically .code section) of the application | 167 | * Get the code (typically .code section) of the application |