diff options
Diffstat (limited to 'src/core/hle/service/lm')
| -rw-r--r-- | src/core/hle/service/lm/lm.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/service/lm/lm.cpp b/src/core/hle/service/lm/lm.cpp index 2843e0e40..c480f6b97 100644 --- a/src/core/hle/service/lm/lm.cpp +++ b/src/core/hle/service/lm/lm.cpp @@ -76,7 +76,7 @@ private: addr += sizeof(MessageHeader); if (!header.IsSingleMessage()) { - LOG_WARNING(Service, "Multi message logs are unimplemeneted"); + LOG_WARNING(Service_LM, "Multi message logs are unimplemeneted"); return; } @@ -125,7 +125,7 @@ private: if (line) { output += std::to_string(line) + ':'; } - if (output.back() == ':') { + if (output.length() > 0 && output.back() == ':') { output += ' '; } output += message; @@ -150,7 +150,7 @@ void LM::Initialize(Kernel::HLERequestContext& ctx) { rb.Push(RESULT_SUCCESS); rb.PushIpcInterface<Logger>(); - LOG_DEBUG(Service, "called"); + LOG_DEBUG(Service_LM, "called"); } LM::LM() : ServiceFramework("lm") { |
