diff options
| author | 2016-12-08 05:20:12 -0500 | |
|---|---|---|
| committer | 2016-12-08 06:13:04 -0500 | |
| commit | cd778cf9915689f14fbf7bd4499edd186993bc9e (patch) | |
| tree | 32cba6a063bd91307b83a9c2f97778e3211fe1c5 | |
| parent | service: Add ptm::gets and ptm::sets services (diff) | |
| download | yuzu-cd778cf9915689f14fbf7bd4499edd186993bc9e.tar.gz yuzu-cd778cf9915689f14fbf7bd4499edd186993bc9e.tar.xz yuzu-cd778cf9915689f14fbf7bd4499edd186993bc9e.zip | |
service: Drop '_Interface' in ptm service class names
Inheriting from Service::Interface makes this obvious.
| -rw-r--r-- | src/core/hle/service/ptm/ptm.cpp | 10 | ||||
| -rw-r--r-- | src/core/hle/service/ptm/ptm_play.cpp | 2 | ||||
| -rw-r--r-- | src/core/hle/service/ptm/ptm_play.h | 4 | ||||
| -rw-r--r-- | src/core/hle/service/ptm/ptm_sysm.cpp | 2 | ||||
| -rw-r--r-- | src/core/hle/service/ptm/ptm_sysm.h | 4 | ||||
| -rw-r--r-- | src/core/hle/service/ptm/ptm_u.cpp | 2 | ||||
| -rw-r--r-- | src/core/hle/service/ptm/ptm_u.h | 4 |
7 files changed, 14 insertions, 14 deletions
diff --git a/src/core/hle/service/ptm/ptm.cpp b/src/core/hle/service/ptm/ptm.cpp index 771fd1323..da7d56ced 100644 --- a/src/core/hle/service/ptm/ptm.cpp +++ b/src/core/hle/service/ptm/ptm.cpp | |||
| @@ -108,11 +108,11 @@ void CheckNew3DS(Service::Interface* self) { | |||
| 108 | } | 108 | } |
| 109 | 109 | ||
| 110 | void Init() { | 110 | void Init() { |
| 111 | AddService(new PTM_Gets()); | 111 | AddService(new PTM_Gets); |
| 112 | AddService(new PTM_Play_Interface); | 112 | AddService(new PTM_Play); |
| 113 | AddService(new PTM_Sets()); | 113 | AddService(new PTM_Sets); |
| 114 | AddService(new PTM_Sysm_Interface); | 114 | AddService(new PTM_Sysm); |
| 115 | AddService(new PTM_U_Interface); | 115 | AddService(new PTM_U); |
| 116 | 116 | ||
| 117 | shell_open = true; | 117 | shell_open = true; |
| 118 | battery_is_charging = true; | 118 | battery_is_charging = true; |
diff --git a/src/core/hle/service/ptm/ptm_play.cpp b/src/core/hle/service/ptm/ptm_play.cpp index 2e0c6e1a3..3fb7e14ca 100644 --- a/src/core/hle/service/ptm/ptm_play.cpp +++ b/src/core/hle/service/ptm/ptm_play.cpp | |||
| @@ -14,7 +14,7 @@ const Interface::FunctionInfo FunctionTable[] = { | |||
| 14 | {0x080B0080, nullptr, "CalcPlayHistoryStart"}, | 14 | {0x080B0080, nullptr, "CalcPlayHistoryStart"}, |
| 15 | }; | 15 | }; |
| 16 | 16 | ||
| 17 | PTM_Play_Interface::PTM_Play_Interface() { | 17 | PTM_Play::PTM_Play() { |
| 18 | Register(FunctionTable); | 18 | Register(FunctionTable); |
| 19 | } | 19 | } |
| 20 | 20 | ||
diff --git a/src/core/hle/service/ptm/ptm_play.h b/src/core/hle/service/ptm/ptm_play.h index 47f229581..663faabee 100644 --- a/src/core/hle/service/ptm/ptm_play.h +++ b/src/core/hle/service/ptm/ptm_play.h | |||
| @@ -9,9 +9,9 @@ | |||
| 9 | namespace Service { | 9 | namespace Service { |
| 10 | namespace PTM { | 10 | namespace PTM { |
| 11 | 11 | ||
| 12 | class PTM_Play_Interface : public Service::Interface { | 12 | class PTM_Play final : public Interface { |
| 13 | public: | 13 | public: |
| 14 | PTM_Play_Interface(); | 14 | PTM_Play(); |
| 15 | 15 | ||
| 16 | std::string GetPortName() const override { | 16 | std::string GetPortName() const override { |
| 17 | return "ptm:play"; | 17 | return "ptm:play"; |
diff --git a/src/core/hle/service/ptm/ptm_sysm.cpp b/src/core/hle/service/ptm/ptm_sysm.cpp index 82e118e2b..f6d8c0c82 100644 --- a/src/core/hle/service/ptm/ptm_sysm.cpp +++ b/src/core/hle/service/ptm/ptm_sysm.cpp | |||
| @@ -42,7 +42,7 @@ const Interface::FunctionInfo FunctionTable[] = { | |||
| 42 | {0x08180040, nullptr, "ConfigureNew3DSCPU"}, | 42 | {0x08180040, nullptr, "ConfigureNew3DSCPU"}, |
| 43 | }; | 43 | }; |
| 44 | 44 | ||
| 45 | PTM_Sysm_Interface::PTM_Sysm_Interface() { | 45 | PTM_Sysm::PTM_Sysm() { |
| 46 | Register(FunctionTable); | 46 | Register(FunctionTable); |
| 47 | } | 47 | } |
| 48 | 48 | ||
diff --git a/src/core/hle/service/ptm/ptm_sysm.h b/src/core/hle/service/ptm/ptm_sysm.h index e37f20546..e9938a530 100644 --- a/src/core/hle/service/ptm/ptm_sysm.h +++ b/src/core/hle/service/ptm/ptm_sysm.h | |||
| @@ -9,9 +9,9 @@ | |||
| 9 | namespace Service { | 9 | namespace Service { |
| 10 | namespace PTM { | 10 | namespace PTM { |
| 11 | 11 | ||
| 12 | class PTM_Sysm_Interface : public Interface { | 12 | class PTM_Sysm final : public Interface { |
| 13 | public: | 13 | public: |
| 14 | PTM_Sysm_Interface(); | 14 | PTM_Sysm(); |
| 15 | 15 | ||
| 16 | std::string GetPortName() const override { | 16 | std::string GetPortName() const override { |
| 17 | return "ptm:sysm"; | 17 | return "ptm:sysm"; |
diff --git a/src/core/hle/service/ptm/ptm_u.cpp b/src/core/hle/service/ptm/ptm_u.cpp index 65e868393..e0b65ba89 100644 --- a/src/core/hle/service/ptm/ptm_u.cpp +++ b/src/core/hle/service/ptm/ptm_u.cpp | |||
| @@ -26,7 +26,7 @@ const Interface::FunctionInfo FunctionTable[] = { | |||
| 26 | {0x000F0084, nullptr, "GetStepHistoryAll"}, | 26 | {0x000F0084, nullptr, "GetStepHistoryAll"}, |
| 27 | }; | 27 | }; |
| 28 | 28 | ||
| 29 | PTM_U_Interface::PTM_U_Interface() { | 29 | PTM_U::PTM_U() { |
| 30 | Register(FunctionTable); | 30 | Register(FunctionTable); |
| 31 | } | 31 | } |
| 32 | 32 | ||
diff --git a/src/core/hle/service/ptm/ptm_u.h b/src/core/hle/service/ptm/ptm_u.h index bf132f610..7b75d6e49 100644 --- a/src/core/hle/service/ptm/ptm_u.h +++ b/src/core/hle/service/ptm/ptm_u.h | |||
| @@ -9,9 +9,9 @@ | |||
| 9 | namespace Service { | 9 | namespace Service { |
| 10 | namespace PTM { | 10 | namespace PTM { |
| 11 | 11 | ||
| 12 | class PTM_U_Interface : public Interface { | 12 | class PTM_U final : public Interface { |
| 13 | public: | 13 | public: |
| 14 | PTM_U_Interface(); | 14 | PTM_U(); |
| 15 | 15 | ||
| 16 | std::string GetPortName() const override { | 16 | std::string GetPortName() const override { |
| 17 | return "ptm:u"; | 17 | return "ptm:u"; |