summaryrefslogtreecommitdiffstats
path: root/src/core/core.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-11-22 07:12:34 +0100
committerGitHub <noreply@github.com>2020-11-22 07:12:34 +0100
commit3a85bc1e771b8c11728b6535710e21dc092b6732 (patch)
treebe80bf80153857db46a24de4b34a7d8bbac7a0ae /src/core/core.cpp
parentMerge pull request #4954 from lioncash/compare (diff)
parentpatch_manager: Remove usages of the global system instance (diff)
downloadyuzu-3a85bc1e771b8c11728b6535710e21dc092b6732.tar
yuzu-3a85bc1e771b8c11728b6535710e21dc092b6732.tar.gz
yuzu-3a85bc1e771b8c11728b6535710e21dc092b6732.tar.bz2
yuzu-3a85bc1e771b8c11728b6535710e21dc092b6732.tar.lz
yuzu-3a85bc1e771b8c11728b6535710e21dc092b6732.tar.xz
yuzu-3a85bc1e771b8c11728b6535710e21dc092b6732.tar.zst
yuzu-3a85bc1e771b8c11728b6535710e21dc092b6732.zip
Diffstat (limited to 'src/core/core.cpp')
-rw-r--r--src/core/core.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp
index 242796008..9253e05b7 100644
--- a/src/core/core.cpp
+++ b/src/core/core.cpp
@@ -210,7 +210,7 @@ struct System::Impl {
ResultStatus Load(System& system, Frontend::EmuWindow& emu_window,
const std::string& filepath) {
- app_loader = Loader::GetLoader(GetGameFileFromPath(virtual_filesystem, filepath));
+ app_loader = Loader::GetLoader(system, GetGameFileFromPath(virtual_filesystem, filepath));
if (!app_loader) {
LOG_CRITICAL(Core, "Failed to obtain loader for {}!", filepath);
return ResultStatus::ErrorGetLoader;
@@ -224,7 +224,7 @@ struct System::Impl {
return init_result;
}
- telemetry_session->AddInitialInfo(*app_loader);
+ telemetry_session->AddInitialInfo(*app_loader, fs_controller, *content_provider);
auto main_process =
Kernel::Process::Create(system, "main", Kernel::Process::ProcessType::Userland);
const auto [load_result, load_parameters] = app_loader->Load(*main_process, system);
@@ -338,7 +338,7 @@ struct System::Impl {
Service::Glue::ApplicationLaunchProperty launch{};
launch.title_id = process.GetTitleID();
- FileSys::PatchManager pm{launch.title_id};
+ FileSys::PatchManager pm{launch.title_id, fs_controller, *content_provider};
launch.version = pm.GetGameVersion().value_or(0);
// TODO(DarkLordZach): When FSController/Game Card Support is added, if