diff options
| -rw-r--r-- | src/core/hle/service/psc/psc.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/core/hle/service/psc/psc.cpp b/src/core/hle/service/psc/psc.cpp index 25702703e..cd0cc9287 100644 --- a/src/core/hle/service/psc/psc.cpp +++ b/src/core/hle/service/psc/psc.cpp | |||
| @@ -11,9 +11,9 @@ | |||
| 11 | 11 | ||
| 12 | namespace Service::PSC { | 12 | namespace Service::PSC { |
| 13 | 13 | ||
| 14 | class PSC_C final : public ServiceFramework<PSC_C> { | 14 | class IPmControl final : public ServiceFramework<IPmControl> { |
| 15 | public: | 15 | public: |
| 16 | explicit PSC_C(Core::System& system_) : ServiceFramework{system_, "psc:c"} { | 16 | explicit IPmControl(Core::System& system_) : ServiceFramework{system_, "psc:c"} { |
| 17 | // clang-format off | 17 | // clang-format off |
| 18 | static const FunctionInfo functions[] = { | 18 | static const FunctionInfo functions[] = { |
| 19 | {0, nullptr, "Initialize"}, | 19 | {0, nullptr, "Initialize"}, |
| @@ -23,8 +23,8 @@ public: | |||
| 23 | {4, nullptr, "Cancel"}, | 23 | {4, nullptr, "Cancel"}, |
| 24 | {5, nullptr, "PrintModuleInformation"}, | 24 | {5, nullptr, "PrintModuleInformation"}, |
| 25 | {6, nullptr, "GetModuleInformation"}, | 25 | {6, nullptr, "GetModuleInformation"}, |
| 26 | {10, nullptr, "Unknown10"}, | 26 | {10, nullptr, "AcquireStateLock"}, |
| 27 | {11, nullptr, "Unknown11"}, | 27 | {11, nullptr, "HasStateLock"}, |
| 28 | }; | 28 | }; |
| 29 | // clang-format on | 29 | // clang-format on |
| 30 | 30 | ||
| @@ -49,12 +49,12 @@ public: | |||
| 49 | } | 49 | } |
| 50 | }; | 50 | }; |
| 51 | 51 | ||
| 52 | class PSC_M final : public ServiceFramework<PSC_M> { | 52 | class IPmService final : public ServiceFramework<IPmService> { |
| 53 | public: | 53 | public: |
| 54 | explicit PSC_M(Core::System& system_) : ServiceFramework{system_, "psc:m"} { | 54 | explicit IPmService(Core::System& system_) : ServiceFramework{system_, "psc:m"} { |
| 55 | // clang-format off | 55 | // clang-format off |
| 56 | static const FunctionInfo functions[] = { | 56 | static const FunctionInfo functions[] = { |
| 57 | {0, &PSC_M::GetPmModule, "GetPmModule"}, | 57 | {0, &IPmService::GetPmModule, "GetPmModule"}, |
| 58 | }; | 58 | }; |
| 59 | // clang-format on | 59 | // clang-format on |
| 60 | 60 | ||
| @@ -74,8 +74,8 @@ private: | |||
| 74 | void LoopProcess(Core::System& system) { | 74 | void LoopProcess(Core::System& system) { |
| 75 | auto server_manager = std::make_unique<ServerManager>(system); | 75 | auto server_manager = std::make_unique<ServerManager>(system); |
| 76 | 76 | ||
| 77 | server_manager->RegisterNamedService("psc:c", std::make_shared<PSC_C>(system)); | 77 | server_manager->RegisterNamedService("psc:c", std::make_shared<IPmControl>(system)); |
| 78 | server_manager->RegisterNamedService("psc:m", std::make_shared<PSC_M>(system)); | 78 | server_manager->RegisterNamedService("psc:m", std::make_shared<IPmService>(system)); |
| 79 | ServerManager::RunServer(std::move(server_manager)); | 79 | ServerManager::RunServer(std::move(server_manager)); |
| 80 | } | 80 | } |
| 81 | 81 | ||