diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-04-24 04:46:25 +0200 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-04-24 05:04:22 +0200 |
commit | 04d9c27120662e2e885bc70b50123ffd982a5a54 (patch) | |
tree | 2241fceb5bd96af098d8adb4d31be8c1356d53bf /src/core/hle/service/am/am.cpp | |
parent | Merge pull request #6229 from lioncash/unused-var (diff) | |
download | yuzu-04d9c27120662e2e885bc70b50123ffd982a5a54.tar yuzu-04d9c27120662e2e885bc70b50123ffd982a5a54.tar.gz yuzu-04d9c27120662e2e885bc70b50123ffd982a5a54.tar.bz2 yuzu-04d9c27120662e2e885bc70b50123ffd982a5a54.tar.lz yuzu-04d9c27120662e2e885bc70b50123ffd982a5a54.tar.xz yuzu-04d9c27120662e2e885bc70b50123ffd982a5a54.tar.zst yuzu-04d9c27120662e2e885bc70b50123ffd982a5a54.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 { |