Add PFF version 0 detection

This commit is contained in:
Matt Nadareski
2025-09-22 09:35:46 -04:00
parent 970a54e6e3
commit 7c56268eb1

View File

@@ -438,6 +438,10 @@ namespace SabreTools.Serialization.Wrappers
// TODO: Use constants from Models here
#region PFF
// Version 0
if (magic.StartsWith([0x14, 0x00, 0x00, 0x00, 0x50, 0x46, 0x46, 0x30]))
return WrapperType.PFF;
// Version 2
if (magic.StartsWith([0x14, 0x00, 0x00, 0x00, 0x50, 0x46, 0x46, 0x32]))
return WrapperType.PFF;