summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/psc/pm_module.cpp
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2024-02-22 03:55:03 +0100
committerLiam <byteslice@airmail.cc>2024-02-22 04:26:12 +0100
commit6c2d6cff19dbd466269dd33bfef8756da68da6be (patch)
tree539d7052ea656d4e29267bd266c78ec2c93c32ef /src/core/hle/service/psc/pm_module.cpp
parentMerge pull request #13105 from t895/connection-fix (diff)
downloadyuzu-6c2d6cff19dbd466269dd33bfef8756da68da6be.tar
yuzu-6c2d6cff19dbd466269dd33bfef8756da68da6be.tar.gz
yuzu-6c2d6cff19dbd466269dd33bfef8756da68da6be.tar.bz2
yuzu-6c2d6cff19dbd466269dd33bfef8756da68da6be.tar.lz
yuzu-6c2d6cff19dbd466269dd33bfef8756da68da6be.tar.xz
yuzu-6c2d6cff19dbd466269dd33bfef8756da68da6be.tar.zst
yuzu-6c2d6cff19dbd466269dd33bfef8756da68da6be.zip
Diffstat (limited to 'src/core/hle/service/psc/pm_module.cpp')
-rw-r--r--src/core/hle/service/psc/pm_module.cpp24
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 000000000..74dc7ed4e
--- /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