diff options
author | bunnei <bunneidev@gmail.com> | 2018-02-05 06:10:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-05 06:10:29 +0100 |
commit | 35517ca92cc3290e2882e3e9009bbb02a038d6f2 (patch) | |
tree | 0483cbc3d950644b9a042232c497c46d4c4b263e /src/core/hle/service/lm/lm.cpp | |
parent | Merge pull request #160 from bunnei/svc-improvements (diff) | |
parent | set: GetAvailableLanguageCodes should not return lang_codes size. (diff) | |
download | yuzu-35517ca92cc3290e2882e3e9009bbb02a038d6f2.tar yuzu-35517ca92cc3290e2882e3e9009bbb02a038d6f2.tar.gz yuzu-35517ca92cc3290e2882e3e9009bbb02a038d6f2.tar.bz2 yuzu-35517ca92cc3290e2882e3e9009bbb02a038d6f2.tar.lz yuzu-35517ca92cc3290e2882e3e9009bbb02a038d6f2.tar.xz yuzu-35517ca92cc3290e2882e3e9009bbb02a038d6f2.tar.zst yuzu-35517ca92cc3290e2882e3e9009bbb02a038d6f2.zip |
Diffstat (limited to 'src/core/hle/service/lm/lm.cpp')
-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") { |