mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Migrate to Serialization package
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user