From 91a1ea7705169c3044b8348aeb9305d64f115442 Mon Sep 17 00:00:00 2001 From: morkt Date: Mon, 20 Nov 2017 23:59:28 +0400 Subject: [PATCH] (FA2): misc. --- ArcFormats/Foster/ArcFA2.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArcFormats/Foster/ArcFA2.cs b/ArcFormats/Foster/ArcFA2.cs index 18c61878..a230cdf4 100644 --- a/ArcFormats/Foster/ArcFA2.cs +++ b/ArcFormats/Foster/ArcFA2.cs @@ -53,7 +53,7 @@ namespace GameRes.Formats.Foster if (is_packed) index = Decompress (input, (uint)count * 0x20); else - index = file.View.ReadBytes (index_offset, (uint)(file.MaxOffset - index_offset)); + index = input.ReadBytes ((int)(file.MaxOffset - index_offset)); } uint data_offset = 0x10;