diff options
| author | liamwhite <liamwhite@users.noreply.github.com> | 2024-02-22 20:26:03 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-22 20:26:03 -0500 |
| commit | dad9ea3e076763cbfd0c29497552531cb7c45edf (patch) | |
| tree | 0667e704694d156a6878e45d609a72c2f2f484ba /src/core/hle/service/psc/pm_control.cpp | |
| parent | d12d9dad4096af6280c6c418cf36a2faacede102 (diff) | |
| parent | e85466c1ae5c993617920f28e9ee1799591d4a9a (diff) | |
Merge pull request #13117 from liamwhite/ovln
psc: stub overlay notification channel
Diffstat (limited to 'src/core/hle/service/psc/pm_control.cpp')
| -rw-r--r-- | src/core/hle/service/psc/pm_control.cpp | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/core/hle/service/psc/pm_control.cpp b/src/core/hle/service/psc/pm_control.cpp new file mode 100644 index 000000000..7dedb7662 --- /dev/null +++ b/src/core/hle/service/psc/pm_control.cpp @@ -0,0 +1,28 @@ +// SPDX-FileCopyrightText: Copyright 2024 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +#include "core/hle/service/psc/pm_control.h" + +namespace Service::PSC { + +IPmControl::IPmControl(Core::System& system_) : ServiceFramework{system_, "psc:c"} { + // clang-format off + static const FunctionInfo functions[] = { + {0, nullptr, "Initialize"}, + {1, nullptr, "DispatchRequest"}, + {2, nullptr, "GetResult"}, + {3, nullptr, "GetState"}, + {4, nullptr, "Cancel"}, + {5, nullptr, "PrintModuleInformation"}, + {6, nullptr, "GetModuleInformation"}, + {10, nullptr, "AcquireStateLock"}, + {11, nullptr, "HasStateLock"}, + }; + // clang-format on + + RegisterHandlers(functions); +} + +IPmControl::~IPmControl() = default; + +} // namespace Service::PSC |
