mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-25 04:14:13 +08:00
(Wa1Reader): adjust RIFF block length.
This commit is contained in:
parent
b334222997
commit
9d88975f13
@ -109,6 +109,7 @@ namespace GameRes.Formats.Ffa
|
|||||||
m_data_size = LittleEndian.ToInt32 (m_input, 0x2c);
|
m_data_size = LittleEndian.ToInt32 (m_input, 0x2c);
|
||||||
m_output = new byte[m_data_size+0x2c];
|
m_output = new byte[m_data_size+0x2c];
|
||||||
Buffer.BlockCopy (m_input, 4, m_output, 0, 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[] {
|
static ushort[] word_456CA0 = new ushort[] {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user