diff options
author | Mat M <mathew1800@gmail.com> | 2021-04-24 18:37:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-24 18:37:34 +0200 |
commit | 4c8c5ad1b68db89e0567ff0e51ba39c8676495fe (patch) | |
tree | b69fb35c97182473ffbc7ec3be3535356f4c2364 /src/core/hle/service/am/am.cpp | |
parent | Merge pull request #6235 from german77/ectx_aw (diff) | |
parent | ICommonStateGetter: Stub SetRequestExitToLibraryAppletAtExecuteNextProgramEnabled (diff) | |
download | yuzu-4c8c5ad1b68db89e0567ff0e51ba39c8676495fe.tar yuzu-4c8c5ad1b68db89e0567ff0e51ba39c8676495fe.tar.gz yuzu-4c8c5ad1b68db89e0567ff0e51ba39c8676495fe.tar.bz2 yuzu-4c8c5ad1b68db89e0567ff0e51ba39c8676495fe.tar.lz yuzu-4c8c5ad1b68db89e0567ff0e51ba39c8676495fe.tar.xz yuzu-4c8c5ad1b68db89e0567ff0e51ba39c8676495fe.tar.zst yuzu-4c8c5ad1b68db89e0567ff0e51ba39c8676495fe.zip |
Diffstat (limited to 'src/core/hle/service/am/am.cpp')
-rw-r--r-- | src/core/hle/service/am/am.cpp | 10 |
1 files changed, 9 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_, {501, nullptr, "SuppressDisablingSleepTemporarily"}, {502, nullptr, "IsSleepEnabled"}, {503, nullptr, "IsDisablingSleepSuppressed"}, - {900, nullptr, "SetRequestExitToLibraryAppletAtExecuteNextProgramEnabled"}, + {900, &ICommonStateGetter::SetRequestExitToLibraryAppletAtExecuteNextProgramEnabled, "SetRequestExitToLibraryAppletAtExecuteNextProgramEnabled"}, }; // clang-format on @@ -817,6 +817,14 @@ void ICommonStateGetter::SetCpuBoostMode(Kernel::HLERequestContext& ctx) { apm_sys->SetCpuBoostMode(ctx); } +void ICommonStateGetter::SetRequestExitToLibraryAppletAtExecuteNextProgramEnabled( + Kernel::HLERequestContext& ctx) { + LOG_WARNING(Service_AM, "(STUBBED) called"); + + IPC::ResponseBuilder rb{ctx, 2}; + rb.Push(RESULT_SUCCESS); +} + IStorageImpl::~IStorageImpl() = default; class StorageDataImpl final : public IStorageImpl { |