diff options
| author | Lioncash <mathew1800@gmail.com> | 2020-11-18 07:53:10 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2020-11-18 09:36:48 -0500 |
| commit | b4b63c878fafaa787d3d40d33582471ed4b7c07d (patch) | |
| tree | ef5e2942aa0aacbebb683da91ee6d4bd19ec15e9 /src/core/loader/loader.h | |
| parent | afa4ced6e4695e15487b4ffc8e67d9eced18998a (diff) | |
patch_manager: Remove usages of the global system instance
With this, only 19 usages of the global system instance remain within
the core library.
We're almost there.
Diffstat (limited to 'src/core/loader/loader.h')
| -rw-r--r-- | src/core/loader/loader.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/core/loader/loader.h b/src/core/loader/loader.h index ac60b097a8..8dc2d7615b 100644 --- a/src/core/loader/loader.h +++ b/src/core/loader/loader.h @@ -290,9 +290,12 @@ protected: /** * Identifies a bootable file and return a suitable loader - * @param file The bootable file - * @return the best loader for this file + * + * @param system The system context. + * @param file The bootable file. + * + * @return the best loader for this file. */ -std::unique_ptr<AppLoader> GetLoader(FileSys::VirtualFile file); +std::unique_ptr<AppLoader> GetLoader(Core::System& system, FileSys::VirtualFile file); } // namespace Loader |
