diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/hle/service/am/am.cpp | 10 | ||||
| -rw-r--r-- | src/core/hle/service/am/am.h | 1 |
2 files changed, 10 insertions, 1 deletions
diff --git a/src/core/hle/service/am/am.cpp b/src/core/hle/service/am/am.cpp index 4c8216b47..58c7f2930 100644 --- a/src/core/hle/service/am/am.cpp +++ b/src/core/hle/service/am/am.cpp | |||
| @@ -687,7 +687,7 @@ ICommonStateGetter::ICommonStateGetter(Core::System& system_, | |||
| 687 | {501, nullptr, "SuppressDisablingSleepTemporarily"}, | 687 | {501, nullptr, "SuppressDisablingSleepTemporarily"}, |
| 688 | {502, nullptr, "IsSleepEnabled"}, | 688 | {502, nullptr, "IsSleepEnabled"}, |
| 689 | {503, nullptr, "IsDisablingSleepSuppressed"}, | 689 | {503, nullptr, "IsDisablingSleepSuppressed"}, |
| 690 | {900, nullptr, "SetRequestExitToLibraryAppletAtExecuteNextProgramEnabled"}, | 690 | {900, &ICommonStateGetter::SetRequestExitToLibraryAppletAtExecuteNextProgramEnabled, "SetRequestExitToLibraryAppletAtExecuteNextProgramEnabled"}, |
| 691 | }; | 691 | }; |
| 692 | // clang-format on | 692 | // clang-format on |
| 693 | 693 | ||
| @@ -817,6 +817,14 @@ void ICommonStateGetter::SetCpuBoostMode(Kernel::HLERequestContext& ctx) { | |||
| 817 | apm_sys->SetCpuBoostMode(ctx); | 817 | apm_sys->SetCpuBoostMode(ctx); |
| 818 | } | 818 | } |
| 819 | 819 | ||
| 820 | void ICommonStateGetter::SetRequestExitToLibraryAppletAtExecuteNextProgramEnabled( | ||
| 821 | Kernel::HLERequestContext& ctx) { | ||
| 822 | LOG_WARNING(Service_AM, "(STUBBED) called"); | ||
| 823 | |||
| 824 | IPC::ResponseBuilder rb{ctx, 2}; | ||
| 825 | rb.Push(RESULT_SUCCESS); | ||
| 826 | } | ||
| 827 | |||
| 820 | IStorageImpl::~IStorageImpl() = default; | 828 | IStorageImpl::~IStorageImpl() = default; |
| 821 | 829 | ||
| 822 | class StorageDataImpl final : public IStorageImpl { | 830 | class StorageDataImpl final : public IStorageImpl { |
diff --git a/src/core/hle/service/am/am.h b/src/core/hle/service/am/am.h index 756434716..5d302e155 100644 --- a/src/core/hle/service/am/am.h +++ b/src/core/hle/service/am/am.h | |||
| @@ -196,6 +196,7 @@ private: | |||
| 196 | void EndVrModeEx(Kernel::HLERequestContext& ctx); | 196 | void EndVrModeEx(Kernel::HLERequestContext& ctx); |
| 197 | void GetDefaultDisplayResolution(Kernel::HLERequestContext& ctx); | 197 | void GetDefaultDisplayResolution(Kernel::HLERequestContext& ctx); |
| 198 | void SetCpuBoostMode(Kernel::HLERequestContext& ctx); | 198 | void SetCpuBoostMode(Kernel::HLERequestContext& ctx); |
| 199 | void SetRequestExitToLibraryAppletAtExecuteNextProgramEnabled(Kernel::HLERequestContext& ctx); | ||
| 199 | 200 | ||
| 200 | std::shared_ptr<AppletMessageQueue> msg_queue; | 201 | std::shared_ptr<AppletMessageQueue> msg_queue; |
| 201 | bool vr_mode_state{}; | 202 | bool vr_mode_state{}; |