summaryrefslogtreecommitdiffstats
path: root/src/core/hle
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2017-08-02 02:00:40 +0200
committerbunnei <bunneidev@gmail.com>2017-08-04 02:10:37 +0200
commit5c631ec9c50482e8b34d0a6f3496b5beb1648230 (patch)
treece90abf40bb263f55f85be8066f2815fad6d301c /src/core/hle
parenttelemetry_session: Log BuildDate and ProgramName fields. (diff)
downloadyuzu-5c631ec9c50482e8b34d0a6f3496b5beb1648230.tar
yuzu-5c631ec9c50482e8b34d0a6f3496b5beb1648230.tar.gz
yuzu-5c631ec9c50482e8b34d0a6f3496b5beb1648230.tar.bz2
yuzu-5c631ec9c50482e8b34d0a6f3496b5beb1648230.tar.lz
yuzu-5c631ec9c50482e8b34d0a6f3496b5beb1648230.tar.xz
yuzu-5c631ec9c50482e8b34d0a6f3496b5beb1648230.tar.zst
yuzu-5c631ec9c50482e8b34d0a6f3496b5beb1648230.zip
Diffstat (limited to 'src/core/hle')
-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) {
void GetSharedFont(Service::Interface* self) {
IPC::RequestParser rp(Kernel::GetCommandBuffer(), 0x44, 0, 0); // 0x00440000
IPC::RequestBuilder rb = rp.MakeBuilder(2, 2);
+
+ // Log in telemetry if the game uses the shared font
+ Core::Telemetry().AddField(Telemetry::FieldType::Session, "RequiresSharedFont", true);
+
if (!shared_font_loaded) {
LOG_ERROR(Service_APT, "shared font file missing - go dump it from your 3ds");
rb.Push<u32>(-1); // TODO: Find the right error code