diff options
| author | Liam <byteslice@airmail.cc> | 2024-02-21 21:55:03 -0500 |
|---|---|---|
| committer | Liam <byteslice@airmail.cc> | 2024-02-21 22:26:12 -0500 |
| commit | dc62ca20ee70bde3ca75ccdafe2b367c35f41260 (patch) | |
| tree | 539d7052ea656d4e29267bd266c78ec2c93c32ef /src/core/hle/service/psc/pm_module.cpp | |
| parent | 56ea569c6d14ba2a69c5ec44651f254ab3c43ccc (diff) | |
psc: move IPmControl, IPmModule, IPmService
Diffstat (limited to 'src/core/hle/service/psc/pm_module.cpp')
| -rw-r--r-- | src/core/hle/service/psc/pm_module.cpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/core/hle/service/psc/pm_module.cpp b/src/core/hle/service/psc/pm_module.cpp new file mode 100644 index 0000000000..74dc7ed4e8 --- /dev/null +++ b/src/core/hle/service/psc/pm_module.cpp @@ -0,0 +1,24 @@ +// SPDX-FileCopyrightText: Copyright 2024 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +#include "core/hle/service/psc/pm_module.h" + +namespace Service::PSC { + +IPmModule::IPmModule(Core::System& system_) : ServiceFramework{system_, "IPmModule"} { + // clang-format off + static const FunctionInfo functions[] = { + {0, nullptr, "Initialize"}, + {1, nullptr, "GetRequest"}, + {2, nullptr, "Acknowledge"}, + {3, nullptr, "Finalize"}, + {4, nullptr, "AcknowledgeEx"}, + }; + // clang-format on + + RegisterHandlers(functions); +} + +IPmModule::~IPmModule() = default; + +} // namespace Service::PSC |
