diff options
author | Lioncash <mathew1800@gmail.com> | 2018-07-26 04:27:42 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-07-26 04:39:39 +0200 |
commit | 6f4d3d8163621f4d21d4d31b21d89073c0124d65 (patch) | |
tree | f25dd84529cf9a0f3f204dabe1ade4de9ab499f0 /src/core/hle/service | |
parent | lm: Add missing function entry to Logger's function table (diff) | |
download | yuzu-6f4d3d8163621f4d21d4d31b21d89073c0124d65.tar yuzu-6f4d3d8163621f4d21d4d31b21d89073c0124d65.tar.gz yuzu-6f4d3d8163621f4d21d4d31b21d89073c0124d65.tar.bz2 yuzu-6f4d3d8163621f4d21d4d31b21d89073c0124d65.tar.lz yuzu-6f4d3d8163621f4d21d4d31b21d89073c0124d65.tar.xz yuzu-6f4d3d8163621f4d21d4d31b21d89073c0124d65.tar.zst yuzu-6f4d3d8163621f4d21d4d31b21d89073c0124d65.zip |
Diffstat (limited to 'src/core/hle/service')
-rw-r--r-- | src/core/hle/service/lm/lm.cpp | 12 | ||||
-rw-r--r-- | src/core/hle/service/lm/lm.h | 2 |
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> { 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<Logger>(); @@ -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); } 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: ~LM() = default; private: - void Initialize(Kernel::HLERequestContext& ctx); + void OpenLogger(Kernel::HLERequestContext& ctx); }; /// Registers all LM services with the specified service manager. |