From d7dfa205ea3392b113de146571f6b32bdb8426ec Mon Sep 17 00:00:00 2001 From: NicknineTheEagle Date: Sun, 22 Jul 2018 05:17:33 +0300 Subject: [PATCH] Added a missing ABK parameter --- src/meta/ea_schl.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/meta/ea_schl.c b/src/meta/ea_schl.c index ffe365e2..3e3ce879 100644 --- a/src/meta/ea_schl.c +++ b/src/meta/ea_schl.c @@ -155,7 +155,8 @@ VGMSTREAM * init_vgmstream_ea_abk(STREAMFILE *streamFile) { version = read_32bitBE(0x04, streamFile); if (version != 0x01010000 && - version != 0x01010100) + version != 0x01010100 && + version != 0x02010202) goto fail; /* use table offset to check endianness */ @@ -216,6 +217,8 @@ VGMSTREAM * init_vgmstream_ea_abk(STREAMFILE *streamFile) { } } + /* there can be another set of values, don't know what they mean */ + num_entries += read_8bit(header_table_offset + 0x27, streamFile); header_table_offset += 0x3C + num_entries * 0x04; }