diff options
author | Narr the Reg <juangerman-13@hotmail.com> | 2023-02-28 02:56:12 +0100 |
---|---|---|
committer | german77 <juangerman-13@hotmail.com> | 2023-03-05 19:02:10 +0100 |
commit | 1f57ae69490d78531c006abf55171379064bb7b1 (patch) | |
tree | b72f93623eabafac597289c9bd76d4ca27e34713 /src/core/hle/service/psc/psc.cpp | |
parent | service: ssl: Add missing properties and update names (diff) | |
download | yuzu-1f57ae69490d78531c006abf55171379064bb7b1.tar yuzu-1f57ae69490d78531c006abf55171379064bb7b1.tar.gz yuzu-1f57ae69490d78531c006abf55171379064bb7b1.tar.bz2 yuzu-1f57ae69490d78531c006abf55171379064bb7b1.tar.lz yuzu-1f57ae69490d78531c006abf55171379064bb7b1.tar.xz yuzu-1f57ae69490d78531c006abf55171379064bb7b1.tar.zst yuzu-1f57ae69490d78531c006abf55171379064bb7b1.zip |
Diffstat (limited to 'src/core/hle/service/psc/psc.cpp')
-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 @@ namespace Service::PSC { -class PSC_C final : public ServiceFramework<PSC_C> { +class IPmControl final : public ServiceFramework<IPmControl> { public: - explicit PSC_C(Core::System& system_) : ServiceFramework{system_, "psc:c"} { + explicit IPmControl(Core::System& system_) : ServiceFramework{system_, "psc:c"} { // clang-format off static const FunctionInfo functions[] = { {0, nullptr, "Initialize"}, @@ -23,8 +23,8 @@ public: {4, nullptr, "Cancel"}, {5, nullptr, "PrintModuleInformation"}, {6, nullptr, "GetModuleInformation"}, - {10, nullptr, "Unknown10"}, - {11, nullptr, "Unknown11"}, + {10, nullptr, "AcquireStateLock"}, + {11, nullptr, "HasStateLock"}, }; // clang-format on @@ -49,12 +49,12 @@ public: } }; -class PSC_M final : public ServiceFramework<PSC_M> { +class IPmService final : public ServiceFramework<IPmService> { public: - explicit PSC_M(Core::System& system_) : ServiceFramework{system_, "psc:m"} { + explicit IPmService(Core::System& system_) : ServiceFramework{system_, "psc:m"} { // clang-format off static const FunctionInfo functions[] = { - {0, &PSC_M::GetPmModule, "GetPmModule"}, + {0, &IPmService::GetPmModule, "GetPmModule"}, }; // clang-format on @@ -74,8 +74,8 @@ private: void LoopProcess(Core::System& system) { auto server_manager = std::make_unique<ServerManager>(system); - server_manager->RegisterNamedService("psc:c", std::make_shared<PSC_C>(system)); - server_manager->RegisterNamedService("psc:m", std::make_shared<PSC_M>(system)); + server_manager->RegisterNamedService("psc:c", std::make_shared<IPmControl>(system)); + server_manager->RegisterNamedService("psc:m", std::make_shared<IPmService>(system)); ServerManager::RunServer(std::move(server_manager)); } |