From 7368ef8d255c521de7067731f68c67fe9f361a27 Mon Sep 17 00:00:00 2001 From: NicknineTheEagle Date: Fri, 7 Oct 2022 00:12:29 +0300 Subject: [PATCH] EA MPF: Fixed some v5 files --- src/meta/ea_schl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/meta/ea_schl.c b/src/meta/ea_schl.c index cbef1e6c..e7031783 100644 --- a/src/meta/ea_schl.c +++ b/src/meta/ea_schl.c @@ -997,8 +997,8 @@ VGMSTREAM* init_vgmstream_ea_mpf_mus(STREAMFILE* sf) { total_streams = (eof_offset - samples_table) / 0x08; off_mult = 0x80; - /* check to distinguish it from SNR/SNS version (first streamed sample is always at 0x100) */ - if (read_u16(tracks_data + 0x04, sf) == 0 && read_u32(samples_table + 0x00, sf) != 0x02) + /* check to distinguish it from SNR/SNS version (first streamed sample is always at 0x00 or 0x100) */ + if (read_u16(tracks_data + 0x04, sf) == 0 && read_u32(samples_table + 0x00, sf) > 0x02) goto fail; track_start = total_streams;