diff options
Diffstat (limited to 'src/core/core.cpp')
| -rw-r--r-- | src/core/core.cpp | 6 |
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 { | |||
| 210 | 210 | ||
| 211 | ResultStatus Load(System& system, Frontend::EmuWindow& emu_window, | 211 | ResultStatus Load(System& system, Frontend::EmuWindow& emu_window, |
| 212 | const std::string& filepath) { | 212 | const std::string& filepath) { |
| 213 | app_loader = Loader::GetLoader(GetGameFileFromPath(virtual_filesystem, filepath)); | 213 | app_loader = Loader::GetLoader(system, GetGameFileFromPath(virtual_filesystem, filepath)); |
| 214 | if (!app_loader) { | 214 | if (!app_loader) { |
| 215 | LOG_CRITICAL(Core, "Failed to obtain loader for {}!", filepath); | 215 | LOG_CRITICAL(Core, "Failed to obtain loader for {}!", filepath); |
| 216 | return ResultStatus::ErrorGetLoader; | 216 | return ResultStatus::ErrorGetLoader; |
| @@ -224,7 +224,7 @@ struct System::Impl { | |||
| 224 | return init_result; | 224 | return init_result; |
| 225 | } | 225 | } |
| 226 | 226 | ||
| 227 | telemetry_session->AddInitialInfo(*app_loader); | 227 | telemetry_session->AddInitialInfo(*app_loader, fs_controller, *content_provider); |
| 228 | auto main_process = | 228 | auto main_process = |
| 229 | Kernel::Process::Create(system, "main", Kernel::Process::ProcessType::Userland); | 229 | Kernel::Process::Create(system, "main", Kernel::Process::ProcessType::Userland); |
| 230 | const auto [load_result, load_parameters] = app_loader->Load(*main_process, system); | 230 | const auto [load_result, load_parameters] = app_loader->Load(*main_process, system); |
| @@ -338,7 +338,7 @@ struct System::Impl { | |||
| 338 | Service::Glue::ApplicationLaunchProperty launch{}; | 338 | Service::Glue::ApplicationLaunchProperty launch{}; |
| 339 | launch.title_id = process.GetTitleID(); | 339 | launch.title_id = process.GetTitleID(); |
| 340 | 340 | ||
| 341 | FileSys::PatchManager pm{launch.title_id}; | 341 | FileSys::PatchManager pm{launch.title_id, fs_controller, *content_provider}; |
| 342 | launch.version = pm.GetGameVersion().value_or(0); | 342 | launch.version = pm.GetGameVersion().value_or(0); |
| 343 | 343 | ||
| 344 | // TODO(DarkLordZach): When FSController/Game Card Support is added, if | 344 | // TODO(DarkLordZach): When FSController/Game Card Support is added, if |