Migrate to Serialization package

This commit is contained in:
Matt Nadareski
2023-09-11 01:20:21 -04:00
parent c88105bee7
commit 1d50ab962f
75 changed files with 56 additions and 10160 deletions

View File

@@ -186,7 +186,7 @@ namespace SabreTools.DatFiles.Formats
logger.User($"Writing to '{outfile}'...");
var mame = CreateMame(ignoreblanks);
if (!Serialization.Listxml.SerializeToFile(mame, outfile))
if (!(new Serialization.Files.Listxml().Serialize(mame, outfile)))
{
logger.Warning($"File '{outfile}' could not be written! See the log for more details.");
return false;