mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-12 09:40:51 +01:00
More 2DX9 loop fixes thanks to IIDX13. Make me suffer Konami.
This commit is contained in:
parent
1b4049c445
commit
7bffa1a5cd
@ -24,7 +24,8 @@ VGMSTREAM * init_vgmstream_2dx9(STREAMFILE *streamFile) {
|
||||
if (read_32bitBE(0x6a,streamFile) != 0x64617461) /* data */
|
||||
goto fail;
|
||||
|
||||
loop_flag = (read_16bitLE(0x0e,streamFile) > 0);
|
||||
/* IIDX 13 has a false flag for looping files. Konami, pls. */
|
||||
loop_flag = (read_16bitLE(0x0e,streamFile) > -1);
|
||||
channel_count = read_16bitLE(0x2e,streamFile);
|
||||
start_offset = 0x72;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user