diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/hle/service/am/am.cpp | 9 | ||||
| -rw-r--r-- | src/core/hle/service/am/am.h | 1 |
2 files changed, 10 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_) | |||
| 1077 | {101, &IApplicationFunctions::SetApplicationCopyrightImage, "SetApplicationCopyrightImage"}, | 1077 | {101, &IApplicationFunctions::SetApplicationCopyrightImage, "SetApplicationCopyrightImage"}, |
| 1078 | {102, &IApplicationFunctions::SetApplicationCopyrightVisibility, "SetApplicationCopyrightVisibility"}, | 1078 | {102, &IApplicationFunctions::SetApplicationCopyrightVisibility, "SetApplicationCopyrightVisibility"}, |
| 1079 | {110, nullptr, "QueryApplicationPlayStatistics"}, | 1079 | {110, nullptr, "QueryApplicationPlayStatistics"}, |
| 1080 | {111, &IApplicationFunctions::QueryApplicationPlayStatisticsByUid, "QueryApplicationPlayStatisticsByUid"}, | ||
| 1080 | {120, nullptr, "ExecuteProgram"}, | 1081 | {120, nullptr, "ExecuteProgram"}, |
| 1081 | {121, nullptr, "ClearUserChannel"}, | 1082 | {121, nullptr, "ClearUserChannel"}, |
| 1082 | {122, nullptr, "UnpopToUserChannel"}, | 1083 | {122, nullptr, "UnpopToUserChannel"}, |
| @@ -1384,6 +1385,14 @@ void IApplicationFunctions::GetGpuErrorDetectedSystemEvent(Kernel::HLERequestCon | |||
| 1384 | rb.PushCopyObjects(gpu_error_detected_event.readable); | 1385 | rb.PushCopyObjects(gpu_error_detected_event.readable); |
| 1385 | } | 1386 | } |
| 1386 | 1387 | ||
| 1388 | void IApplicationFunctions::QueryApplicationPlayStatisticsByUid(Kernel::HLERequestContext& ctx) { | ||
| 1389 | LOG_WARNING(Service_AM, "(STUBBED) called"); | ||
| 1390 | |||
| 1391 | IPC::ResponseBuilder rb{ctx, 3}; | ||
| 1392 | rb.Push(RESULT_SUCCESS); | ||
| 1393 | rb.Push<u32>(0); | ||
| 1394 | } | ||
| 1395 | |||
| 1387 | void InstallInterfaces(SM::ServiceManager& service_manager, | 1396 | void InstallInterfaces(SM::ServiceManager& service_manager, |
| 1388 | std::shared_ptr<NVFlinger::NVFlinger> nvflinger, Core::System& system) { | 1397 | std::shared_ptr<NVFlinger::NVFlinger> nvflinger, Core::System& system) { |
| 1389 | auto message_queue = std::make_shared<AppletMessageQueue>(system.Kernel()); | 1398 | auto message_queue = std::make_shared<AppletMessageQueue>(system.Kernel()); |
diff --git a/src/core/hle/service/am/am.h b/src/core/hle/service/am/am.h index 2ae9402a8..f64013ea0 100644 --- a/src/core/hle/service/am/am.h +++ b/src/core/hle/service/am/am.h | |||
| @@ -256,6 +256,7 @@ private: | |||
| 256 | void SetApplicationCopyrightImage(Kernel::HLERequestContext& ctx); | 256 | void SetApplicationCopyrightImage(Kernel::HLERequestContext& ctx); |
| 257 | void SetApplicationCopyrightVisibility(Kernel::HLERequestContext& ctx); | 257 | void SetApplicationCopyrightVisibility(Kernel::HLERequestContext& ctx); |
| 258 | void GetGpuErrorDetectedSystemEvent(Kernel::HLERequestContext& ctx); | 258 | void GetGpuErrorDetectedSystemEvent(Kernel::HLERequestContext& ctx); |
| 259 | void QueryApplicationPlayStatisticsByUid(Kernel::HLERequestContext& ctx); | ||
| 259 | 260 | ||
| 260 | bool launch_popped_application_specific = false; | 261 | bool launch_popped_application_specific = false; |
| 261 | bool launch_popped_account_preselect = false; | 262 | bool launch_popped_account_preselect = false; |