mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-02-17 19:19:16 +01:00
Fix some .ads looping [Gofun-go no Sekai (PS2)]
This commit is contained in:
parent
07abb4692d
commit
c9500056a6
@ -174,7 +174,13 @@ VGMSTREAM * init_vgmstream_ps2_ads(STREAMFILE *streamFile) {
|
||||
loop_end_offset = loop_end * 0x10;
|
||||
}
|
||||
#endif
|
||||
if (loop_end <= body_size / 0x70 && coding_type == coding_PCM16LE) { /* close to body_size */
|
||||
if (loop_end <= body_size / 0x200 && coding_type == coding_PCM16LE) { /* close to body_size */
|
||||
/* Gofun-go no Sekai: loops is address * 0x200 */
|
||||
loop_flag = 1;
|
||||
loop_start_offset = loop_start * 0x200;
|
||||
loop_end_offset = loop_end * 0x200;
|
||||
}
|
||||
else if (loop_end <= body_size / 0x70 && coding_type == coding_PCM16LE) { /* close to body_size */
|
||||
/* Armored Core - Nexus: loops is address * 0x70 */
|
||||
loop_flag = 1;
|
||||
loop_start_offset = loop_start * 0x70;
|
||||
|
Loading…
x
Reference in New Issue
Block a user