mirror of
https://github.com/claunia/romrepomgr.git
synced 2025-12-16 19:24:51 +00:00
Update SabreTools.
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user