ensure proper path separators are recognized

This commit is contained in:
Michael Becker 2022-10-02 00:46:18 -04:00
parent e15fd7580c
commit 8496fd116c
No known key found for this signature in database
GPG Key ID: DA394832305DA332

View File

@ -69,6 +69,7 @@ namespace UniversalEditor.DataFormats.FileSystem.Kronosaur.TDB
string signature = reader.ReadFixedLengthString(4);
if (signature != "FDLA") throw new InvalidDataFormatException("File does not begin with 'FDLA'");
fsom.PathSeparators = new string[] { "/", "\\" };
FormatVersion = reader.ReadInt32();
BlockSize = reader.ReadInt32();