ensure proper path separators are recognized
This commit is contained in:
parent
e15fd7580c
commit
8496fd116c
@ -69,6 +69,7 @@ namespace UniversalEditor.DataFormats.FileSystem.Kronosaur.TDB
|
|||||||
string signature = reader.ReadFixedLengthString(4);
|
string signature = reader.ReadFixedLengthString(4);
|
||||||
if (signature != "FDLA") throw new InvalidDataFormatException("File does not begin with 'FDLA'");
|
if (signature != "FDLA") throw new InvalidDataFormatException("File does not begin with 'FDLA'");
|
||||||
|
|
||||||
|
fsom.PathSeparators = new string[] { "/", "\\" };
|
||||||
FormatVersion = reader.ReadInt32();
|
FormatVersion = reader.ReadInt32();
|
||||||
|
|
||||||
BlockSize = reader.ReadInt32();
|
BlockSize = reader.ReadInt32();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user