summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/hle/service/lm/lm.cpp12
-rw-r--r--src/core/hle/service/lm/lm.h2
2 files changed, 7 insertions, 7 deletions
diff --git a/src/core/hle/service/lm/lm.cpp b/src/core/hle/service/lm/lm.cpp
index d882f843b..af4573acf 100644
--- a/src/core/hle/service/lm/lm.cpp
+++ b/src/core/hle/service/lm/lm.cpp
@@ -15,7 +15,7 @@ class Logger final : public ServiceFramework<Logger> {
15public: 15public:
16 Logger() : ServiceFramework("Logger") { 16 Logger() : ServiceFramework("Logger") {
17 static const FunctionInfo functions[] = { 17 static const FunctionInfo functions[] = {
18 {0x00000000, &Logger::Log, "Log"}, 18 {0x00000000, &Logger::Initialize, "Initialize"},
19 {0x00000001, nullptr, "SetDestination"}, 19 {0x00000001, nullptr, "SetDestination"},
20 }; 20 };
21 RegisterHandlers(functions); 21 RegisterHandlers(functions);
@@ -67,13 +67,13 @@ private:
67 }; 67 };
68 68
69 /** 69 /**
70 * LM::Log service function 70 * ILogger::Initialize service function
71 * Inputs: 71 * Inputs:
72 * 0: 0x00000000 72 * 0: 0x00000000
73 * Outputs: 73 * Outputs:
74 * 0: ResultCode 74 * 0: ResultCode
75 */ 75 */
76 void Log(Kernel::HLERequestContext& ctx) { 76 void Initialize(Kernel::HLERequestContext& ctx) {
77 // This function only succeeds - Get that out of the way 77 // This function only succeeds - Get that out of the way
78 IPC::ResponseBuilder rb{ctx, 2}; 78 IPC::ResponseBuilder rb{ctx, 2};
79 rb.Push(RESULT_SUCCESS); 79 rb.Push(RESULT_SUCCESS);
@@ -168,13 +168,13 @@ void InstallInterfaces(SM::ServiceManager& service_manager) {
168} 168}
169 169
170/** 170/**
171 * LM::Initialize service function 171 * LM::OpenLogger service function
172 * Inputs: 172 * Inputs:
173 * 0: 0x00000000 173 * 0: 0x00000000
174 * Outputs: 174 * Outputs:
175 * 0: ResultCode 175 * 0: ResultCode
176 */ 176 */
177void LM::Initialize(Kernel::HLERequestContext& ctx) { 177void LM::OpenLogger(Kernel::HLERequestContext& ctx) {
178 IPC::ResponseBuilder rb{ctx, 2, 0, 1}; 178 IPC::ResponseBuilder rb{ctx, 2, 0, 1};
179 rb.Push(RESULT_SUCCESS); 179 rb.Push(RESULT_SUCCESS);
180 rb.PushIpcInterface<Logger>(); 180 rb.PushIpcInterface<Logger>();
@@ -184,7 +184,7 @@ void LM::Initialize(Kernel::HLERequestContext& ctx) {
184 184
185LM::LM() : ServiceFramework("lm") { 185LM::LM() : ServiceFramework("lm") {
186 static const FunctionInfo functions[] = { 186 static const FunctionInfo functions[] = {
187 {0x00000000, &LM::Initialize, "Initialize"}, 187 {0x00000000, &LM::OpenLogger, "OpenLogger"},
188 }; 188 };
189 RegisterHandlers(functions); 189 RegisterHandlers(functions);
190} 190}
diff --git a/src/core/hle/service/lm/lm.h b/src/core/hle/service/lm/lm.h
index 63d6506fe..9c15c2e5f 100644
--- a/src/core/hle/service/lm/lm.h
+++ b/src/core/hle/service/lm/lm.h
@@ -16,7 +16,7 @@ public:
16 ~LM() = default; 16 ~LM() = default;
17 17
18private: 18private:
19 void Initialize(Kernel::HLERequestContext& ctx); 19 void OpenLogger(Kernel::HLERequestContext& ctx);
20}; 20};
21 21
22/// Registers all LM services with the specified service manager. 22/// Registers all LM services with the specified service manager.