mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-08-31 14:09:08 +01:00
ISelfController: Stub LockExit and UnlockExit
This commit is contained in:
parent
0f363d37e6
commit
d9ca9d3472
1 changed files with 16 additions and 0 deletions
|
@ -55,6 +55,8 @@ class ISelfController final : public ServiceFramework<ISelfController> {
|
||||||
public:
|
public:
|
||||||
ISelfController() : ServiceFramework("ISelfController") {
|
ISelfController() : ServiceFramework("ISelfController") {
|
||||||
static const FunctionInfo functions[] = {
|
static const FunctionInfo functions[] = {
|
||||||
|
{1, &ISelfController::LockExit, "LockExit"},
|
||||||
|
{2, &ISelfController::UnlockExit, "UnlockExit"},
|
||||||
{11, &ISelfController::SetOperationModeChangedNotification,
|
{11, &ISelfController::SetOperationModeChangedNotification,
|
||||||
"SetOperationModeChangedNotification"},
|
"SetOperationModeChangedNotification"},
|
||||||
{12, &ISelfController::SetPerformanceModeChangedNotification,
|
{12, &ISelfController::SetPerformanceModeChangedNotification,
|
||||||
|
@ -128,6 +130,20 @@ private:
|
||||||
|
|
||||||
LOG_WARNING(Service, "(STUBBED) called enabled=%u", static_cast<u32>(enabled));
|
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> {
|
class ICommonStateGetter final : public ServiceFramework<ICommonStateGetter> {
|
||||||
|
|
Loading…
Reference in a new issue