diff options
Diffstat (limited to '')
| -rw-r--r-- | src/core/hle/service/am/am.cpp | 31 | ||||
| -rw-r--r-- | src/core/hle/service/am/am.h | 3 |
2 files changed, 31 insertions, 3 deletions
diff --git a/src/core/hle/service/am/am.cpp b/src/core/hle/service/am/am.cpp index 3a32d5b41..3d8a91d22 100644 --- a/src/core/hle/service/am/am.cpp +++ b/src/core/hle/service/am/am.cpp | |||
| @@ -1073,9 +1073,9 @@ IApplicationFunctions::IApplicationFunctions(Core::System& system_) | |||
| 1073 | {71, nullptr, "RequestToReboot"}, | 1073 | {71, nullptr, "RequestToReboot"}, |
| 1074 | {80, nullptr, "ExitAndRequestToShowThanksMessage"}, | 1074 | {80, nullptr, "ExitAndRequestToShowThanksMessage"}, |
| 1075 | {90, &IApplicationFunctions::EnableApplicationCrashReport, "EnableApplicationCrashReport"}, | 1075 | {90, &IApplicationFunctions::EnableApplicationCrashReport, "EnableApplicationCrashReport"}, |
| 1076 | {100, nullptr, "InitializeApplicationCopyrightFrameBuffer"}, | 1076 | {100, &IApplicationFunctions::InitializeApplicationCopyrightFrameBuffer, "InitializeApplicationCopyrightFrameBuffer"}, |
| 1077 | {101, nullptr, "SetApplicationCopyrightImage"}, | 1077 | {101, &IApplicationFunctions::SetApplicationCopyrightImage, "SetApplicationCopyrightImage"}, |
| 1078 | {102, nullptr, "SetApplicationCopyrightVisibility"}, | 1078 | {102, &IApplicationFunctions::SetApplicationCopyrightVisibility, "SetApplicationCopyrightVisibility"}, |
| 1079 | {110, nullptr, "QueryApplicationPlayStatistics"}, | 1079 | {110, nullptr, "QueryApplicationPlayStatistics"}, |
| 1080 | {120, nullptr, "ExecuteProgram"}, | 1080 | {120, nullptr, "ExecuteProgram"}, |
| 1081 | {121, nullptr, "ClearUserChannel"}, | 1081 | {121, nullptr, "ClearUserChannel"}, |
| @@ -1103,6 +1103,31 @@ void IApplicationFunctions::EnableApplicationCrashReport(Kernel::HLERequestConte | |||
| 1103 | rb.Push(RESULT_SUCCESS); | 1103 | rb.Push(RESULT_SUCCESS); |
| 1104 | } | 1104 | } |
| 1105 | 1105 | ||
| 1106 | void IApplicationFunctions::InitializeApplicationCopyrightFrameBuffer( | ||
| 1107 | Kernel::HLERequestContext& ctx) { | ||
| 1108 | LOG_WARNING(Service_AM, "(STUBBED) called"); | ||
| 1109 | |||
| 1110 | IPC::ResponseBuilder rb{ctx, 2}; | ||
| 1111 | rb.Push(RESULT_SUCCESS); | ||
| 1112 | } | ||
| 1113 | |||
| 1114 | void IApplicationFunctions::SetApplicationCopyrightImage(Kernel::HLERequestContext& ctx) { | ||
| 1115 | LOG_WARNING(Service_AM, "(STUBBED) called"); | ||
| 1116 | |||
| 1117 | IPC::ResponseBuilder rb{ctx, 2}; | ||
| 1118 | rb.Push(RESULT_SUCCESS); | ||
| 1119 | } | ||
| 1120 | |||
| 1121 | void IApplicationFunctions::SetApplicationCopyrightVisibility(Kernel::HLERequestContext& ctx) { | ||
| 1122 | IPC::RequestParser rp{ctx}; | ||
| 1123 | const auto is_visible = rp.Pop<bool>(); | ||
| 1124 | |||
| 1125 | LOG_WARNING(Service_AM, "(STUBBED) called, is_visible={}", is_visible); | ||
| 1126 | |||
| 1127 | IPC::ResponseBuilder rb{ctx, 2}; | ||
| 1128 | rb.Push(RESULT_SUCCESS); | ||
| 1129 | } | ||
| 1130 | |||
| 1106 | void IApplicationFunctions::BeginBlockingHomeButtonShortAndLongPressed( | 1131 | void IApplicationFunctions::BeginBlockingHomeButtonShortAndLongPressed( |
| 1107 | Kernel::HLERequestContext& ctx) { | 1132 | Kernel::HLERequestContext& ctx) { |
| 1108 | LOG_WARNING(Service_AM, "(STUBBED) called"); | 1133 | LOG_WARNING(Service_AM, "(STUBBED) called"); |
diff --git a/src/core/hle/service/am/am.h b/src/core/hle/service/am/am.h index ccd053c13..2ae9402a8 100644 --- a/src/core/hle/service/am/am.h +++ b/src/core/hle/service/am/am.h | |||
| @@ -252,6 +252,9 @@ private: | |||
| 252 | void BeginBlockingHomeButton(Kernel::HLERequestContext& ctx); | 252 | void BeginBlockingHomeButton(Kernel::HLERequestContext& ctx); |
| 253 | void EndBlockingHomeButton(Kernel::HLERequestContext& ctx); | 253 | void EndBlockingHomeButton(Kernel::HLERequestContext& ctx); |
| 254 | void EnableApplicationCrashReport(Kernel::HLERequestContext& ctx); | 254 | void EnableApplicationCrashReport(Kernel::HLERequestContext& ctx); |
| 255 | void InitializeApplicationCopyrightFrameBuffer(Kernel::HLERequestContext& ctx); | ||
| 256 | void SetApplicationCopyrightImage(Kernel::HLERequestContext& ctx); | ||
| 257 | void SetApplicationCopyrightVisibility(Kernel::HLERequestContext& ctx); | ||
| 255 | void GetGpuErrorDetectedSystemEvent(Kernel::HLERequestContext& ctx); | 258 | void GetGpuErrorDetectedSystemEvent(Kernel::HLERequestContext& ctx); |
| 256 | 259 | ||
| 257 | bool launch_popped_application_specific = false; | 260 | bool launch_popped_application_specific = false; |