summaryrefslogtreecommitdiff
path: root/src/core/loader/loader.h
diff options
context:
space:
mode:
authorGravatar Lioncash2020-11-18 07:53:10 -0500
committerGravatar Lioncash2020-11-18 09:36:48 -0500
commit6f8a06bac58790d20dae3c1adb4de3b441f07b30 (patch)
treeef5e2942aa0aacbebb683da91ee6d4bd19ec15e9 /src/core/loader/loader.h
parentMerge pull request #4866 from Morph1984/mjolnir-p3-prod (diff)
downloadyuzu-6f8a06bac58790d20dae3c1adb4de3b441f07b30.tar.gz
yuzu-6f8a06bac58790d20dae3c1adb4de3b441f07b30.tar.xz
yuzu-6f8a06bac58790d20dae3c1adb4de3b441f07b30.zip
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.h9
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:
290 290
291/** 291/**
292 * Identifies a bootable file and return a suitable loader 292 * Identifies a bootable file and return a suitable loader
293 * @param file The bootable file 293 *
294 * @return the best loader for this file 294 * @param system The system context.
295 * @param file The bootable file.
296 *
297 * @return the best loader for this file.
295 */ 298 */
296std::unique_ptr<AppLoader> GetLoader(FileSys::VirtualFile file); 299std::unique_ptr<AppLoader> GetLoader(Core::System& system, FileSys::VirtualFile file);
297 300
298} // namespace Loader 301} // namespace Loader