From 6c23aa0bed7596f57549a893d435125ca1c9e28b Mon Sep 17 00:00:00 2001 From: morkt Date: Sat, 29 Dec 2018 22:29:58 +0400 Subject: [PATCH] (YPF): workaround for version 0xDE --- ArcFormats/YuRis/ArcYPF.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArcFormats/YuRis/ArcYPF.cs b/ArcFormats/YuRis/ArcYPF.cs index dd58d3f5..30847f65 100644 --- a/ArcFormats/YuRis/ArcYPF.cs +++ b/ArcFormats/YuRis/ArcYPF.cs @@ -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; }