VERY experimental Nintendo Switch 2 emulator
C++
lm: Ensure log string is non-empty before checking back().
bunneie7bad17a87d1
diff --git a/src/core/hle/service/lm/lm.cpp b/src/core/hle/service/lm/lm.cppindex 2843e0e408..7ff9c37f31 100644--- a/src/core/hle/service/lm/lm.cpp+++ b/src/core/hle/service/lm/lm.cpp@@ -125,7 +125,7 @@ private:if (line) {output += std::to_string(line) + ':';}- if (output.back() == ':') {+ if (output.length() > 0 && output.back() == ':') {output += ' ';}output += message;