mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-15 02:57:38 +01:00
weird broken loop from Metal Gear Rising - Revengeance Demo
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@1003 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
This commit is contained in:
parent
30e33d70a2
commit
a73fad53f5
@ -111,6 +111,10 @@ VGMSTREAM * init_vgmstream_adx(STREAMFILE *streamFile) {
|
|||||||
/* high-pass cutoff frequency, always 500 that I've seen */
|
/* high-pass cutoff frequency, always 500 that I've seen */
|
||||||
cutoff = (uint16_t)read_16bitBE(0x10,streamFile);
|
cutoff = (uint16_t)read_16bitBE(0x10,streamFile);
|
||||||
|
|
||||||
|
if (loop_start_sample == 0 && loop_end_sample == 0) {
|
||||||
|
loop_flag = 0;
|
||||||
|
}
|
||||||
|
|
||||||
channel_count = read_8bit(7,streamFile);
|
channel_count = read_8bit(7,streamFile);
|
||||||
vgmstream = allocate_vgmstream(channel_count,loop_flag);
|
vgmstream = allocate_vgmstream(channel_count,loop_flag);
|
||||||
if (!vgmstream) goto fail;
|
if (!vgmstream) goto fail;
|
||||||
|
Loading…
Reference in New Issue
Block a user