diff options
author | Rozlette <Uberpanzermensch@gmail.com> | 2018-01-19 21:09:50 +0100 |
---|---|---|
committer | Rozlette <Uberpanzermensch@gmail.com> | 2018-01-19 21:09:50 +0100 |
commit | d9ca9d34724aa1285d12c0b625748e294428da4b (patch) | |
tree | 005bdc78c20ad566d875201dca4c2c8869d8908a /src/core/hle/service | |
parent | Merge pull request #109 from bunnei/libnx-fixes (diff) | |
download | yuzu-d9ca9d34724aa1285d12c0b625748e294428da4b.tar yuzu-d9ca9d34724aa1285d12c0b625748e294428da4b.tar.gz yuzu-d9ca9d34724aa1285d12c0b625748e294428da4b.tar.bz2 yuzu-d9ca9d34724aa1285d12c0b625748e294428da4b.tar.lz yuzu-d9ca9d34724aa1285d12c0b625748e294428da4b.tar.xz yuzu-d9ca9d34724aa1285d12c0b625748e294428da4b.tar.zst yuzu-d9ca9d34724aa1285d12c0b625748e294428da4b.zip |
Diffstat (limited to 'src/core/hle/service')
-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 038080e8c..fd1b99a6d 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> { public: ISelfController() : ServiceFramework("ISelfController") { static const FunctionInfo functions[] = { + {1, &ISelfController::LockExit, "LockExit"}, + {2, &ISelfController::UnlockExit, "UnlockExit"}, {11, &ISelfController::SetOperationModeChangedNotification, "SetOperationModeChangedNotification"}, {12, &ISelfController::SetPerformanceModeChangedNotification, @@ -128,6 +130,20 @@ private: LOG_WARNING(Service, "(STUBBED) called enabled=%u", static_cast<u32>(enabled)); } + + void LockExit(Kernel::HLERequestContext& ctx) { + IPC::RequestBuilder rb{ctx, 2}; + rb.Push(RESULT_SUCCESS); + + LOG_WARNING(Service, "(STUBBED) called"); + } + + void UnlockExit(Kernel::HLERequestContext& ctx) { + IPC::RequestBuilder rb{ctx, 2}; + rb.Push(RESULT_SUCCESS); + + LOG_WARNING(Service, "(STUBBED) called"); + } }; class ICommonStateGetter final : public ServiceFramework<ICommonStateGetter> { |