mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-02-06 14:44:25 +01:00
Use loop flag in bnk
This commit is contained in:
parent
697e5329c9
commit
f5462aad63
@ -282,7 +282,7 @@ VGMSTREAM * init_vgmstream_bnk_sony(STREAMFILE *streamFile) {
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
loop_flag = ps_find_loop_offsets(streamFile, start_offset, stream_size, channel_count, interleave, &loop_start, &loop_end);
|
loop_flag = ps_find_loop_offsets(streamFile, start_offset, stream_size, channel_count, interleave, &loop_start, &loop_end);
|
||||||
loop_flag = (loop_start > 28); /* ignore full loops since they just fadeout + repeat */
|
loop_flag = (flags & 0x40); /* no loops values in sight so may only apply to PS-ADPCM flags */
|
||||||
|
|
||||||
codec = PSX;
|
codec = PSX;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user