summaryrefslogtreecommitdiffstats
path: root/src/core/loader/ncch.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2017-07-13 04:19:34 +0200
committerbunnei <bunneidev@gmail.com>2017-07-18 03:32:28 +0200
commitdf8b9863f93da24e25d25f32e548605743ed8f66 (patch)
treeb537192701ae290292d231cecb773af7897a4d8b /src/core/loader/ncch.cpp
parentMerge pull request #2804 from Kloen/theming (diff)
downloadyuzu-df8b9863f93da24e25d25f32e548605743ed8f66.tar
yuzu-df8b9863f93da24e25d25f32e548605743ed8f66.tar.gz
yuzu-df8b9863f93da24e25d25f32e548605743ed8f66.tar.bz2
yuzu-df8b9863f93da24e25d25f32e548605743ed8f66.tar.lz
yuzu-df8b9863f93da24e25d25f32e548605743ed8f66.tar.xz
yuzu-df8b9863f93da24e25d25f32e548605743ed8f66.tar.zst
yuzu-df8b9863f93da24e25d25f32e548605743ed8f66.zip
Diffstat (limited to 'src/core/loader/ncch.cpp')
-rw-r--r--src/core/loader/ncch.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/loader/ncch.cpp b/src/core/loader/ncch.cpp
index ffc019560..fc4d14a59 100644
--- a/src/core/loader/ncch.cpp
+++ b/src/core/loader/ncch.cpp
@@ -342,9 +342,11 @@ ResultStatus AppLoader_NCCH::Load() {
if (result != ResultStatus::Success)
return result;
- LOG_INFO(Loader, "Program ID: %016" PRIX64, ncch_header.program_id);
+ std::string program_id{Common::StringFromFormat("%016" PRIX64, ncch_header.program_id)};
- Core::Telemetry().AddField(Telemetry::FieldType::Session, "ProgramId", ncch_header.program_id);
+ LOG_INFO(Loader, "Program ID: %s", program_id.c_str());
+
+ Core::Telemetry().AddField(Telemetry::FieldType::Session, "ProgramId", program_id);
is_loaded = true; // Set state to loaded