diff options
author | bunnei <ericbunnie@gmail.com> | 2014-04-13 04:08:48 +0200 |
---|---|---|
committer | bunnei <ericbunnie@gmail.com> | 2014-04-13 04:08:48 +0200 |
commit | b24e6f2b609e1a75f05124a6246801dd0e56183a (patch) | |
tree | a9cbfb096c6138355b3033bdfb4fa7c102a33140 /src/core/hle/service/service.cpp | |
parent | - added HLE to connect to "srv:" service (diff) | |
download | yuzu-b24e6f2b609e1a75f05124a6246801dd0e56183a.tar yuzu-b24e6f2b609e1a75f05124a6246801dd0e56183a.tar.gz yuzu-b24e6f2b609e1a75f05124a6246801dd0e56183a.tar.bz2 yuzu-b24e6f2b609e1a75f05124a6246801dd0e56183a.tar.lz yuzu-b24e6f2b609e1a75f05124a6246801dd0e56183a.tar.xz yuzu-b24e6f2b609e1a75f05124a6246801dd0e56183a.tar.zst yuzu-b24e6f2b609e1a75f05124a6246801dd0e56183a.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/service.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/core/hle/service/service.cpp b/src/core/hle/service/service.cpp index 4bc96cc18..3434b6dbf 100644 --- a/src/core/hle/service/service.cpp +++ b/src/core/hle/service/service.cpp @@ -75,7 +75,7 @@ public: * Gets the string name used by CTROS for a service * @return String name of service */ - std::string GetName() { + std::string GetName() const { return "ServiceManager"; } @@ -83,7 +83,7 @@ public: * Gets the string name used by CTROS for a service * @return Port name of service */ - std::string GetPortName() { + std::string GetPortName() const { return "srv:"; } @@ -92,8 +92,8 @@ public: * @return Return result of svcSendSyncRequest passed back to user app */ Syscall::Result Sync() { - ERROR_LOG(HLE, "Unimplemented function ServiceManager::Sync"); - return -1; + ERROR_LOG(HLE, "Unimplemented function Interface_SRV::Sync"); + return 0; } }; @@ -102,13 +102,13 @@ public: void Init() { g_manager = new Manager; g_manager->AddService(new Interface_SRV); - NOTICE_LOG(HLE, "ServiceManager initialized OK"); + NOTICE_LOG(HLE, "Services initialized OK"); } /// Shutdown ServiceManager void Shutdown() { delete g_manager; - NOTICE_LOG(HLE, "ServiceManager shutdown OK"); + NOTICE_LOG(HLE, "Services shutdown OK"); } |