From 86ec14f9e1d2569a757b53981959cb1e300cb5fc Mon Sep 17 00:00:00 2001 From: morkt Date: Fri, 6 Jan 2017 05:09:43 +0400 Subject: [PATCH] (DecryptYstb): additional version check. --- 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 6b6ccb97..41d17413 100644 --- a/ArcFormats/YuRis/ArcYPF.cs +++ b/ArcFormats/YuRis/ArcYPF.cs @@ -354,7 +354,7 @@ namespace GameRes.Formats.YuRis uint* header = (uint*)raw; uint version = header[1]; int first_item, last_item; - if (version >= 0x1CE) + if (version >= 0x1CE || 0x12C == version) { first_item = 3; last_item = 7;