Fix the spacing on lm log messages

This commit is contained in:
Billy Laws 2020-07-09 14:12:24 +01:00 committed by ◱ PixelyIon
parent dae799dbb5
commit 80270637c1

View File

@ -46,7 +46,7 @@ namespace skyline::service::lm {
} data = state.process->GetReference<Data>(request.inputBuf.at(0).address);
std::ostringstream logMessage;
logMessage << "Guest log: ";
logMessage << "Guest log:";
u64 offset = sizeof(Data);
while (offset < request.inputBuf.at(0).size) {
@ -54,6 +54,8 @@ namespace skyline::service::lm {
auto length = state.process->GetObject<u8>(request.inputBuf.at(0).address + offset++);
auto address = request.inputBuf.at(0).address + offset;
logMessage << " ";
switch (fieldType) {
case LogFieldType::Start:
offset += length;