prepo: Add a MessagePack object formatter (#1034)

This commit is contained in:
jduncanator 2020-03-26 08:33:18 +11:00 committed by GitHub
parent 5423daea56
commit 82c3df83c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 305 additions and 3 deletions

View file

@ -2,11 +2,10 @@ using MsgPack;
using MsgPack.Serialization;
using Ryujinx.Common;
using Ryujinx.Common.Logging;
using Ryujinx.Common.Utilities;
using Ryujinx.HLE.HOS.Services.Account.Acc;
using Ryujinx.HLE.Utilities;
using System.IO;
using System.Text;
using Utf8Json;
namespace Ryujinx.HLE.HOS.Services.Prepo
{
@ -117,7 +116,7 @@ namespace Ryujinx.HLE.HOS.Services.Prepo
}
builder.AppendLine($" Room: {room}");
builder.AppendLine($" Report: {deserializedReport}");
builder.AppendLine($" Report: {MessagePackObjectFormatter.Format(deserializedReport)}");
return builder.ToString();
}