mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-02-20 20:41:08 +01:00
EA SCHl: Fixed PS2 bank offsets
This commit is contained in:
parent
8b463f9d53
commit
4f03a5112d
@ -1380,9 +1380,7 @@ static VGMSTREAM * init_vgmstream_ea_variable_header(STREAMFILE* sf, ea_header*
|
||||
for (i = 0; i < ea->channels; i++) {
|
||||
vgmstream->ch[i].offset = ea->offsets[0] + interleave*i;
|
||||
}
|
||||
} else if ((vgmstream->coding_type == coding_PCM8 || vgmstream->coding_type == coding_PCM16LE) &&
|
||||
ea->platform == EA_PLATFORM_PS2 &&
|
||||
(ea->flag_value & 0x100)) {
|
||||
} else if (ea->platform == EA_PLATFORM_PS2 && (ea->flag_value & 0x100)) {
|
||||
/* weird 0x10 mini header when played on IOP (codec/loop start/loop end/samples) [SSX 3 (PS2)] */
|
||||
for (i = 0; i < vgmstream->channels; i++) {
|
||||
vgmstream->ch[i].offset = ea->offsets[i] + 0x10;
|
||||
|
Loading…
x
Reference in New Issue
Block a user