mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-24 23:10:10 +01:00
Merge pull request #1121 from bxaimc/master
More 2DX9 loop fixes thanks to IIDX13. Make me suffer Konami.
This commit is contained in:
commit
4eb40f005c
@ -24,7 +24,8 @@ VGMSTREAM * init_vgmstream_2dx9(STREAMFILE *streamFile) {
|
|||||||
if (read_32bitBE(0x6a,streamFile) != 0x64617461) /* data */
|
if (read_32bitBE(0x6a,streamFile) != 0x64617461) /* data */
|
||||||
goto fail;
|
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);
|
channel_count = read_16bitLE(0x2e,streamFile);
|
||||||
start_offset = 0x72;
|
start_offset = 0x72;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user