From 9d88975f138ce9313165ed725985658eac25b87d Mon Sep 17 00:00:00 2001 From: morkt Date: Sun, 14 Jun 2015 13:53:04 +0400 Subject: [PATCH] (Wa1Reader): adjust RIFF block length. --- ArcFormats/AudioWA1.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/ArcFormats/AudioWA1.cs b/ArcFormats/AudioWA1.cs index 2a2a0016..be9d7596 100644 --- a/ArcFormats/AudioWA1.cs +++ b/ArcFormats/AudioWA1.cs @@ -109,6 +109,7 @@ namespace GameRes.Formats.Ffa m_data_size = LittleEndian.ToInt32 (m_input, 0x2c); m_output = new byte[m_data_size+0x2c]; Buffer.BlockCopy (m_input, 4, m_output, 0, 0x2c); + LittleEndian.Pack (m_output.Length-8, m_output, 4); } static ushort[] word_456CA0 = new ushort[] {