summaryrefslogtreecommitdiff
path: root/src/core/hle/service/service.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/service/service.cpp')
-rw-r--r--src/core/hle/service/service.cpp12
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:
75 * Gets the string name used by CTROS for a service 75 * Gets the string name used by CTROS for a service
76 * @return String name of service 76 * @return String name of service
77 */ 77 */
78 std::string GetName() { 78 std::string GetName() const {
79 return "ServiceManager"; 79 return "ServiceManager";
80 } 80 }
81 81
@@ -83,7 +83,7 @@ public:
83 * Gets the string name used by CTROS for a service 83 * Gets the string name used by CTROS for a service
84 * @return Port name of service 84 * @return Port name of service
85 */ 85 */
86 std::string GetPortName() { 86 std::string GetPortName() const {
87 return "srv:"; 87 return "srv:";
88 } 88 }
89 89
@@ -92,8 +92,8 @@ public:
92 * @return Return result of svcSendSyncRequest passed back to user app 92 * @return Return result of svcSendSyncRequest passed back to user app
93 */ 93 */
94 Syscall::Result Sync() { 94 Syscall::Result Sync() {
95 ERROR_LOG(HLE, "Unimplemented function ServiceManager::Sync"); 95 ERROR_LOG(HLE, "Unimplemented function Interface_SRV::Sync");
96 return -1; 96 return 0;
97 } 97 }
98 98
99}; 99};
@@ -102,13 +102,13 @@ public:
102void Init() { 102void Init() {
103 g_manager = new Manager; 103 g_manager = new Manager;
104 g_manager->AddService(new Interface_SRV); 104 g_manager->AddService(new Interface_SRV);
105 NOTICE_LOG(HLE, "ServiceManager initialized OK"); 105 NOTICE_LOG(HLE, "Services initialized OK");
106} 106}
107 107
108/// Shutdown ServiceManager 108/// Shutdown ServiceManager
109void Shutdown() { 109void Shutdown() {
110 delete g_manager; 110 delete g_manager;
111 NOTICE_LOG(HLE, "ServiceManager shutdown OK"); 111 NOTICE_LOG(HLE, "Services shutdown OK");
112} 112}
113 113
114 114