summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/am/am.cpp
diff options
context:
space:
mode:
authorMichael Scire <SciresM@gmail.com>2019-11-11 16:21:45 +0100
committerMichael Scire <SciresM@gmail.com>2019-11-11 16:32:47 +0100
commitb0b0786493f6d872f7f7f83e8c6b91ba6b121c57 (patch)
tree6711fbf85fd8fea55cfb999cba92aa12c8d64eab /src/core/hle/service/am/am.cpp
parentMerge pull request #3085 from bunnei/web-token-b64 (diff)
downloadyuzu-b0b0786493f6d872f7f7f83e8c6b91ba6b121c57.tar
yuzu-b0b0786493f6d872f7f7f83e8c6b91ba6b121c57.tar.gz
yuzu-b0b0786493f6d872f7f7f83e8c6b91ba6b121c57.tar.bz2
yuzu-b0b0786493f6d872f7f7f83e8c6b91ba6b121c57.tar.lz
yuzu-b0b0786493f6d872f7f7f83e8c6b91ba6b121c57.tar.xz
yuzu-b0b0786493f6d872f7f7f83e8c6b91ba6b121c57.tar.zst
yuzu-b0b0786493f6d872f7f7f83e8c6b91ba6b121c57.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/am/am.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/core/hle/service/am/am.cpp b/src/core/hle/service/am/am.cpp
index ba54b3040..d52ec4387 100644
--- a/src/core/hle/service/am/am.cpp
+++ b/src/core/hle/service/am/am.cpp
@@ -1077,6 +1077,7 @@ IApplicationFunctions::IApplicationFunctions(Core::System& system_)
{101, &IApplicationFunctions::SetApplicationCopyrightImage, "SetApplicationCopyrightImage"},
{102, &IApplicationFunctions::SetApplicationCopyrightVisibility, "SetApplicationCopyrightVisibility"},
{110, nullptr, "QueryApplicationPlayStatistics"},
+ {111, &IApplicationFunctions::QueryApplicationPlayStatisticsByUid, "QueryApplicationPlayStatisticsByUid"},
{120, nullptr, "ExecuteProgram"},
{121, nullptr, "ClearUserChannel"},
{122, nullptr, "UnpopToUserChannel"},
@@ -1384,6 +1385,14 @@ void IApplicationFunctions::GetGpuErrorDetectedSystemEvent(Kernel::HLERequestCon
rb.PushCopyObjects(gpu_error_detected_event.readable);
}
+void IApplicationFunctions::QueryApplicationPlayStatisticsByUid(Kernel::HLERequestContext& ctx) {
+ LOG_WARNING(Service_AM, "(STUBBED) called");
+
+ IPC::ResponseBuilder rb{ctx, 3};
+ rb.Push(RESULT_SUCCESS);
+ rb.Push<u32>(0);
+}
+
void InstallInterfaces(SM::ServiceManager& service_manager,
std::shared_ptr<NVFlinger::NVFlinger> nvflinger, Core::System& system) {
auto message_queue = std::make_shared<AppletMessageQueue>(system.Kernel());