Debugger: Add whitespace/indentation to workspace xml files

This commit is contained in:
Sour 2019-05-27 16:48:07 -04:00
parent 118f1ccb94
commit b77a59857c

View file

@ -74,6 +74,7 @@ namespace Mesen.GUI.Config
try {
XmlWriterSettings ws = new XmlWriterSettings();
ws.NewLineHandling = NewLineHandling.Entitize;
ws.Indent = true;
XmlSerializer xmlSerializer = new XmlSerializer(typeof(DebugWorkspace));
using(XmlWriter xmlWriter = XmlWriter.Create(_filePath, ws)) {