From 6f4d3d8163621f4d21d4d31b21d89073c0124d65 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Wed, 25 Jul 2018 22:27:42 -0400 Subject: lm: Amend names of Initialize() in Logger and Initialize() in LM Amends these to match the information on Switch Brew. --- src/core/hle/service/lm/lm.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/core/hle/service/lm/lm.cpp') 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 { public: Logger() : ServiceFramework("Logger") { static const FunctionInfo functions[] = { - {0x00000000, &Logger::Log, "Log"}, + {0x00000000, &Logger::Initialize, "Initialize"}, {0x00000001, nullptr, "SetDestination"}, }; RegisterHandlers(functions); @@ -67,13 +67,13 @@ private: }; /** - * LM::Log service function + * ILogger::Initialize service function * Inputs: * 0: 0x00000000 * Outputs: * 0: ResultCode */ - void Log(Kernel::HLERequestContext& ctx) { + void Initialize(Kernel::HLERequestContext& ctx) { // This function only succeeds - Get that out of the way IPC::ResponseBuilder rb{ctx, 2}; rb.Push(RESULT_SUCCESS); @@ -168,13 +168,13 @@ void InstallInterfaces(SM::ServiceManager& service_manager) { } /** - * LM::Initialize service function + * LM::OpenLogger service function * Inputs: * 0: 0x00000000 * Outputs: * 0: ResultCode */ -void LM::Initialize(Kernel::HLERequestContext& ctx) { +void LM::OpenLogger(Kernel::HLERequestContext& ctx) { IPC::ResponseBuilder rb{ctx, 2, 0, 1}; rb.Push(RESULT_SUCCESS); rb.PushIpcInterface(); @@ -184,7 +184,7 @@ void LM::Initialize(Kernel::HLERequestContext& ctx) { LM::LM() : ServiceFramework("lm") { static const FunctionInfo functions[] = { - {0x00000000, &LM::Initialize, "Initialize"}, + {0x00000000, &LM::OpenLogger, "OpenLogger"}, }; RegisterHandlers(functions); } -- cgit v1.2.3