(YPF): workaround for version 0xDE

This commit is contained in:
morkt 2018-12-29 22:29:58 +04:00
parent 02850219cf
commit 6c23aa0bed

View File

@ -202,7 +202,7 @@ namespace GameRes.Formats.YuRis
scheme = new YpfScheme {
SwapTable = GuessSwapTable (version),
GuessKey = true,
ExtraHeaderSize = version >= 0x1D9 ? 4u : 0u,
ExtraHeaderSize = version >= 0x1D9 ? 4u : version == 0xDE ? 8u : 0u,
};
return scheme;
}