Update SabreTools.

This commit is contained in:
2020-12-20 23:05:05 +00:00
parent 6cdd6928d0
commit ebc874a00b
2 changed files with 4 additions and 2 deletions

View File

@@ -40,6 +40,7 @@ using RomRepoMgr.Database;
using RomRepoMgr.Database.Models;
using SabreTools.Library.DatFiles;
using SabreTools.Library.DatItems;
using SabreTools.Library.IO;
using ErrorEventArgs = RomRepoMgr.Core.EventArgs.ErrorEventArgs;
using Machine = RomRepoMgr.Database.Models.Machine;
@@ -74,7 +75,8 @@ namespace RomRepoMgr.Core.Workers
Message = Localization.ParsinDatFile
});
var datFile = DatFile.CreateAndParse(_datPath);
var datFile = DatFile.Create();
datFile.Parse(new ParentablePath(_datPath), throwOnError: true);
SetMessage?.Invoke(this, new MessageEventArgs
{