summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/ptm/ptm.cpp1
-rw-r--r--src/core/hle/service/ptm/ptm_sysm.cpp4
-rw-r--r--src/core/hle/service/ptm/ptm_sysm.h9
3 files changed, 14 insertions, 0 deletions
diff --git a/src/core/hle/service/ptm/ptm.cpp b/src/core/hle/service/ptm/ptm.cpp
index da7d56ced..4d374ba17 100644
--- a/src/core/hle/service/ptm/ptm.cpp
+++ b/src/core/hle/service/ptm/ptm.cpp
@@ -110,6 +110,7 @@ void CheckNew3DS(Service::Interface* self) {
110void Init() { 110void Init() {
111 AddService(new PTM_Gets); 111 AddService(new PTM_Gets);
112 AddService(new PTM_Play); 112 AddService(new PTM_Play);
113 AddService(new PTM_S);
113 AddService(new PTM_Sets); 114 AddService(new PTM_Sets);
114 AddService(new PTM_Sysm); 115 AddService(new PTM_Sysm);
115 AddService(new PTM_U); 116 AddService(new PTM_U);
diff --git a/src/core/hle/service/ptm/ptm_sysm.cpp b/src/core/hle/service/ptm/ptm_sysm.cpp
index a5db93e44..f95dfdbb1 100644
--- a/src/core/hle/service/ptm/ptm_sysm.cpp
+++ b/src/core/hle/service/ptm/ptm_sysm.cpp
@@ -59,6 +59,10 @@ const Interface::FunctionInfo FunctionTable[] = {
59 {0x08180040, nullptr, "ConfigureNew3DSCPU"}, 59 {0x08180040, nullptr, "ConfigureNew3DSCPU"},
60}; 60};
61 61
62PTM_S::PTM_S() {
63 Register(FunctionTable);
64}
65
62PTM_Sysm::PTM_Sysm() { 66PTM_Sysm::PTM_Sysm() {
63 Register(FunctionTable); 67 Register(FunctionTable);
64} 68}
diff --git a/src/core/hle/service/ptm/ptm_sysm.h b/src/core/hle/service/ptm/ptm_sysm.h
index e9938a530..8afcebbba 100644
--- a/src/core/hle/service/ptm/ptm_sysm.h
+++ b/src/core/hle/service/ptm/ptm_sysm.h
@@ -9,6 +9,15 @@
9namespace Service { 9namespace Service {
10namespace PTM { 10namespace PTM {
11 11
12class PTM_S final : public Interface {
13public:
14 PTM_S();
15
16 std::string GetPortName() const override {
17 return "ptm:s";
18 }
19};
20
12class PTM_Sysm final : public Interface { 21class PTM_Sysm final : public Interface {
13public: 22public:
14 PTM_Sysm(); 23 PTM_Sysm();