aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/ptm/ptm.cpp
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2022-06-26 18:48:12 -0500
committerNarr the Reg <juangerman-13@hotmail.com>2022-06-28 19:22:46 -0500
commit2bad788ead61ba1913bab6f86bd87e09eda7a4b4 (patch)
treed0c399d3343fba5df84d563762564fa4aa4d6906 /src/core/hle/service/ptm/ptm.cpp
parentd3da378c46e88b208ac839d1120bf4b99f32ff98 (diff)
service: ptm: Rewrite PSM and add TS
Diffstat (limited to 'src/core/hle/service/ptm/ptm.cpp')
-rw-r--r--src/core/hle/service/ptm/ptm.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/core/hle/service/ptm/ptm.cpp b/src/core/hle/service/ptm/ptm.cpp
new file mode 100644
index 0000000000..4bea995c6a
--- /dev/null
+++ b/src/core/hle/service/ptm/ptm.cpp
@@ -0,0 +1,18 @@
+// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-3.0-or-later
+
+#include <memory>
+
+#include "core/core.h"
+#include "core/hle/service/ptm/psm.h"
+#include "core/hle/service/ptm/ptm.h"
+#include "core/hle/service/ptm/ts.h"
+
+namespace Service::PTM {
+
+void InstallInterfaces(SM::ServiceManager& sm, Core::System& system) {
+ std::make_shared<PSM>(system)->InstallAsService(sm);
+ std::make_shared<TS>(system)->InstallAsService(sm);
+}
+
+} // namespace Service::PTM