diff options
author | bunnei <bunneidev@gmail.com> | 2020-11-21 22:12:34 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-21 22:12:34 -0800 |
commit | 3a85bc1e771b8c11728b6535710e21dc092b6732 (patch) | |
tree | be80bf80153857db46a24de4b34a7d8bbac7a0ae /src/core/loader/loader.h | |
parent | e13a91fa9b115beb7894feaf03edc27bd26162b1 (diff) | |
parent | 6f8a06bac58790d20dae3c1adb4de3b441f07b30 (diff) |
Merge pull request #4944 from lioncash/system-rem
patch_manager: Remove usages of the global system instance
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 ac60b097a..8dc2d7615 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 |