Update SabreTools.

This commit is contained in:
2020-12-20 23:17:18 +00:00
parent 7dfc277cd7
commit 5c87920c13
6 changed files with 54 additions and 13 deletions

View File

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