mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-21 00:38:45 +01:00
Changed interleave value range check.
Most data is 0x10, but Kessen(JP) is 0x20.
This commit is contained in:
parent
61bbdc3893
commit
aed7eb36fc
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user