summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/apt/apt.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/hle/service/apt/apt.cpp b/src/core/hle/service/apt/apt.cpp
index 4e6b7b6f5..0109fa2b2 100644
--- a/src/core/hle/service/apt/apt.cpp
+++ b/src/core/hle/service/apt/apt.cpp
@@ -75,6 +75,10 @@ void Initialize(Service::Interface* self) {
75void GetSharedFont(Service::Interface* self) { 75void GetSharedFont(Service::Interface* self) {
76 IPC::RequestParser rp(Kernel::GetCommandBuffer(), 0x44, 0, 0); // 0x00440000 76 IPC::RequestParser rp(Kernel::GetCommandBuffer(), 0x44, 0, 0); // 0x00440000
77 IPC::RequestBuilder rb = rp.MakeBuilder(2, 2); 77 IPC::RequestBuilder rb = rp.MakeBuilder(2, 2);
78
79 // Log in telemetry if the game uses the shared font
80 Core::Telemetry().AddField(Telemetry::FieldType::Session, "RequiresSharedFont", true);
81
78 if (!shared_font_loaded) { 82 if (!shared_font_loaded) {
79 LOG_ERROR(Service_APT, "shared font file missing - go dump it from your 3ds"); 83 LOG_ERROR(Service_APT, "shared font file missing - go dump it from your 3ds");
80 rb.Push<u32>(-1); // TODO: Find the right error code 84 rb.Push<u32>(-1); // TODO: Find the right error code