summaryrefslogtreecommitdiffstats
path: root/src/core/core.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-05-29 03:12:23 +0200
committerLioncash <mathew1800@gmail.com>2019-05-29 04:28:15 +0200
commit215fd827384904f1cb7fa689ff8cd3f61dbbd007 (patch)
tree3c5d144f741228e966e13b576bfa0cadbaebd5fa /src/core/core.cpp
parentcore/telemetry_session: Explicitly delete copy and move constructors (diff)
downloadyuzu-215fd827384904f1cb7fa689ff8cd3f61dbbd007.tar
yuzu-215fd827384904f1cb7fa689ff8cd3f61dbbd007.tar.gz
yuzu-215fd827384904f1cb7fa689ff8cd3f61dbbd007.tar.bz2
yuzu-215fd827384904f1cb7fa689ff8cd3f61dbbd007.tar.lz
yuzu-215fd827384904f1cb7fa689ff8cd3f61dbbd007.tar.xz
yuzu-215fd827384904f1cb7fa689ff8cd3f61dbbd007.tar.zst
yuzu-215fd827384904f1cb7fa689ff8cd3f61dbbd007.zip
Diffstat (limited to 'src/core/core.cpp')
-rw-r--r--src/core/core.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp
index 7106151bd..9f9356f53 100644
--- a/src/core/core.cpp
+++ b/src/core/core.cpp
@@ -144,7 +144,6 @@ struct System::Impl {
ResultStatus Load(System& system, Frontend::EmuWindow& emu_window,
const std::string& filepath) {
app_loader = Loader::GetLoader(GetGameFileFromPath(virtual_filesystem, filepath));
-
if (!app_loader) {
LOG_CRITICAL(Core, "Failed to obtain loader for {}!", filepath);
return ResultStatus::ErrorGetLoader;
@@ -167,6 +166,7 @@ struct System::Impl {
return init_result;
}
+ telemetry_session->AddInitialInfo(*app_loader);
auto main_process = Kernel::Process::Create(system, "main");
const auto [load_result, load_parameters] = app_loader->Load(*main_process);
if (load_result != Loader::ResultStatus::Success) {