From c09057b8b92b86aea0c8943cb02be5b5af2a0e3f Mon Sep 17 00:00:00 2001 From: morkt Date: Sun, 12 Jul 2015 15:39:28 +0400 Subject: [PATCH] support WARC archives version 1.50 --- ArcFormats/ArcWARC.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArcFormats/ArcWARC.cs b/ArcFormats/ArcWARC.cs index a78aaaea..7c5410a9 100644 --- a/ArcFormats/ArcWARC.cs +++ b/ArcFormats/ArcWARC.cs @@ -75,7 +75,7 @@ namespace GameRes.Formats.ShiinaRio return null; int version = file.View.ReadByte (7) - 0x30; version = 100 + version * 10; - if (170 != version && 130 != version) + if (170 != version && 130 != version && 150 != version) throw new NotSupportedException ("Not supported WARC version"); uint index_offset = 0xf182ad82u ^ file.View.ReadUInt32 (8); if (index_offset >= file.MaxOffset)