summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-01-19 23:54:05 +0100
committerGitHub <noreply@github.com>2018-01-19 23:54:05 +0100
commit7b219539a9a60d3ba6f13ba7802ca70a778869e7 (patch)
treed986333a8dcdb15d5212d57185fcc77a0fc2f5fe /src/core
parentacc, set, applet_oe: stub various functions, add set service (#105) (diff)
parentISelfController: Stub LockExit and UnlockExit (diff)
downloadyuzu-7b219539a9a60d3ba6f13ba7802ca70a778869e7.tar
yuzu-7b219539a9a60d3ba6f13ba7802ca70a778869e7.tar.gz
yuzu-7b219539a9a60d3ba6f13ba7802ca70a778869e7.tar.bz2
yuzu-7b219539a9a60d3ba6f13ba7802ca70a778869e7.tar.lz
yuzu-7b219539a9a60d3ba6f13ba7802ca70a778869e7.tar.xz
yuzu-7b219539a9a60d3ba6f13ba7802ca70a778869e7.tar.zst
yuzu-7b219539a9a60d3ba6f13ba7802ca70a778869e7.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/hle/service/am/applet_oe.cpp16
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> {
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> {