Ignore A2M .int

This commit is contained in:
bnnm 2017-12-09 17:03:23 +01:00
parent 59cef16a2c
commit ecf01351cb

View File

@ -27,6 +27,10 @@ VGMSTREAM * init_vgmstream_ps2_int(STREAMFILE *streamFile) {
else else
channel_count = 4; channel_count = 4;
/* ignore A2M .int */
if (read_32bitBE(0x00,streamFile) == 0x41324D00) /* "A2M\0" */
goto fail;
/* build the VGMSTREAM */ /* build the VGMSTREAM */
vgmstream = allocate_vgmstream(channel_count,0); vgmstream = allocate_vgmstream(channel_count,0);
if (!vgmstream) goto fail; if (!vgmstream) goto fail;