diff options
| author | 2017-05-02 00:10:04 -0400 | |
|---|---|---|
| committer | 2017-05-24 19:16:23 -0400 | |
| commit | 120b00fb1aee96aec42b1647ece98dcc3e192139 (patch) | |
| tree | 2278bd436cd8887c0f35a6ef8fcb5fcb68adaae2 /src/core/loader/ncch.cpp | |
| parent | core: Keep track of telemetry for the current emulation session. (diff) | |
| download | yuzu-120b00fb1aee96aec42b1647ece98dcc3e192139.tar.gz yuzu-120b00fb1aee96aec42b1647ece98dcc3e192139.tar.xz yuzu-120b00fb1aee96aec42b1647ece98dcc3e192139.zip | |
telemetry: Log a few simple data fields throughout core.
Diffstat (limited to 'src/core/loader/ncch.cpp')
| -rw-r--r-- | src/core/loader/ncch.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/loader/ncch.cpp b/src/core/loader/ncch.cpp index 1a4e3efa8..beeb13ffa 100644 --- a/src/core/loader/ncch.cpp +++ b/src/core/loader/ncch.cpp | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | #include "common/logging/log.h" | 9 | #include "common/logging/log.h" |
| 10 | #include "common/string_util.h" | 10 | #include "common/string_util.h" |
| 11 | #include "common/swap.h" | 11 | #include "common/swap.h" |
| 12 | #include "core/core.h" | ||
| 12 | #include "core/file_sys/archive_selfncch.h" | 13 | #include "core/file_sys/archive_selfncch.h" |
| 13 | #include "core/hle/kernel/process.h" | 14 | #include "core/hle/kernel/process.h" |
| 14 | #include "core/hle/kernel/resource_limit.h" | 15 | #include "core/hle/kernel/resource_limit.h" |
| @@ -339,6 +340,8 @@ ResultStatus AppLoader_NCCH::Load() { | |||
| 339 | 340 | ||
| 340 | LOG_INFO(Loader, "Program ID: %016" PRIX64, ncch_header.program_id); | 341 | LOG_INFO(Loader, "Program ID: %016" PRIX64, ncch_header.program_id); |
| 341 | 342 | ||
| 343 | Core::Telemetry().AddField(Telemetry::FieldType::Session, "ProgramId", ncch_header.program_id); | ||
| 344 | |||
| 342 | is_loaded = true; // Set state to loaded | 345 | is_loaded = true; // Set state to loaded |
| 343 | 346 | ||
| 344 | result = LoadExec(); // Load the executable into memory for booting | 347 | result = LoadExec(); // Load the executable into memory for booting |