summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2018-01-09 21:14:21 +0100
committerSubv <subv2112@gmail.com>2018-01-10 06:41:29 +0100
commit188feba4576d0ff3e930767cefb27ac9af2b716f (patch)
treeb1e16c6f400d3574093320ee534e528a0a40a758
parentSVC: Fixed WaitSynchronization with multiple handles when none is immediately ready. (diff)
downloadyuzu-188feba4576d0ff3e930767cefb27ac9af2b716f.tar
yuzu-188feba4576d0ff3e930767cefb27ac9af2b716f.tar.gz
yuzu-188feba4576d0ff3e930767cefb27ac9af2b716f.tar.bz2
yuzu-188feba4576d0ff3e930767cefb27ac9af2b716f.tar.lz
yuzu-188feba4576d0ff3e930767cefb27ac9af2b716f.tar.xz
yuzu-188feba4576d0ff3e930767cefb27ac9af2b716f.tar.zst
yuzu-188feba4576d0ff3e930767cefb27ac9af2b716f.zip
-rw-r--r--src/core/hle/service/lm/lm.cpp10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/core/hle/service/lm/lm.cpp b/src/core/hle/service/lm/lm.cpp
index edbee39f5..f853a6ec6 100644
--- a/src/core/hle/service/lm/lm.cpp
+++ b/src/core/hle/service/lm/lm.cpp
@@ -75,7 +75,8 @@ private:
addr += sizeof(MessageHeader);
if (!header.IsSingleMessage()) {
- UNIMPLEMENTED_MSG("Multi message logs are unimplemeneted");
+ LOG_WARNING(Service, "Multi message logs are unimplemeneted");
+ return;
}
// Parse out log metadata
@@ -102,15 +103,10 @@ private:
}
// Empty log - nothing to do here
- if (message.size() <= 1) {
+ if (message.empty()) {
return;
}
- // Remove trailing new line
- if (message[message.length() - 1] == '\n') {
- message.erase(message.length() - 1);
- }
-
// Format a nicely printable string out of the log metadata
std::string output;
if (filename.size()) {