diff options
| -rw-r--r-- | src/core/hle/service/am/applet_oe.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/core/hle/service/am/applet_oe.cpp b/src/core/hle/service/am/applet_oe.cpp index 79ad4f53b..687e65fe3 100644 --- a/src/core/hle/service/am/applet_oe.cpp +++ b/src/core/hle/service/am/applet_oe.cpp | |||
| @@ -55,6 +55,8 @@ class ISelfController final : public ServiceFramework<ISelfController> { | |||
| 55 | public: | 55 | public: |
| 56 | ISelfController() : ServiceFramework("ISelfController") { | 56 | ISelfController() : ServiceFramework("ISelfController") { |
| 57 | static const FunctionInfo functions[] = { | 57 | static const FunctionInfo functions[] = { |
| 58 | {1, &ISelfController::LockExit, "LockExit"}, | ||
| 59 | {2, &ISelfController::UnlockExit, "UnlockExit"}, | ||
| 58 | {11, &ISelfController::SetOperationModeChangedNotification, | 60 | {11, &ISelfController::SetOperationModeChangedNotification, |
| 59 | "SetOperationModeChangedNotification"}, | 61 | "SetOperationModeChangedNotification"}, |
| 60 | {12, &ISelfController::SetPerformanceModeChangedNotification, | 62 | {12, &ISelfController::SetPerformanceModeChangedNotification, |
| @@ -128,6 +130,20 @@ private: | |||
| 128 | 130 | ||
| 129 | LOG_WARNING(Service, "(STUBBED) called enabled=%u", static_cast<u32>(enabled)); | 131 | LOG_WARNING(Service, "(STUBBED) called enabled=%u", static_cast<u32>(enabled)); |
| 130 | } | 132 | } |
| 133 | |||
| 134 | void LockExit(Kernel::HLERequestContext& ctx) { | ||
| 135 | IPC::RequestBuilder rb{ctx, 2}; | ||
| 136 | rb.Push(RESULT_SUCCESS); | ||
| 137 | |||
| 138 | LOG_WARNING(Service, "(STUBBED) called"); | ||
| 139 | } | ||
| 140 | |||
| 141 | void UnlockExit(Kernel::HLERequestContext& ctx) { | ||
| 142 | IPC::RequestBuilder rb{ctx, 2}; | ||
| 143 | rb.Push(RESULT_SUCCESS); | ||
| 144 | |||
| 145 | LOG_WARNING(Service, "(STUBBED) called"); | ||
| 146 | } | ||
| 131 | }; | 147 | }; |
| 132 | 148 | ||
| 133 | class ICommonStateGetter final : public ServiceFramework<ICommonStateGetter> { | 149 | class ICommonStateGetter final : public ServiceFramework<ICommonStateGetter> { |