Update ILogger.cs

This commit is contained in:
Ac_K 2018-11-21 03:54:49 +01:00 committed by GitHub
parent dc02ac08ca
commit 33563fd4ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -74,11 +74,11 @@ namespace Ryujinx.HLE.HOS.Services.Lm
}
else if (Field < LmLogField.Count)
{
FieldStr = Field + ": \"" + Encoding.UTF8.GetString(Reader.ReadBytes(Size)) + "\"";
FieldStr = Field + ": \"" + Encoding.UTF8.GetString(Reader.ReadBytes(Size)).TrimEnd('\r', '\n') + "\"";
}
else
{
FieldStr = "Field" + Field + ": \"" + Encoding.UTF8.GetString(Reader.ReadBytes(Size)) + "\"";
FieldStr = "Field" + Field + ": \"" + Encoding.UTF8.GetString(Reader.ReadBytes(Size)).TrimEnd('\r', '\n') + "\"";
}
SB.AppendLine(" " + FieldStr);