From aed7eb36fc58cb9c14eb7266de63f397c3daea43 Mon Sep 17 00:00:00 2001 From: RuRuRu <638143+rururutan@users.noreply.github.com> Date: Sun, 9 Apr 2023 17:25:23 +0900 Subject: [PATCH] Changed interleave value range check. Most data is 0x10, but Kessen(JP) is 0x20. --- src/meta/ps2_mic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/meta/ps2_mic.c b/src/meta/ps2_mic.c index d403e7fe..88d149b4 100644 --- a/src/meta/ps2_mic.c +++ b/src/meta/ps2_mic.c @@ -20,7 +20,7 @@ VGMSTREAM* init_vgmstream_mic_koei(STREAMFILE* sf) { channels = read_u32le(0x08,sf); if (channels > 4) goto fail; /* 1/2/4 are known */ interleave = read_u32le(0x0c,sf); - if (interleave != 0x10) goto fail; + if (interleave != 0x10 && interleave != 0x20) goto fail; loop_end = read_s32le(0x10,sf); loop_start = read_s32le(0x14,sf);