mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-17 23:36:41 +01:00
revert my VPK "fix"
turns out that VPK files that contain more than a mere 2 channels really have a divided interleave number by 2 this was necessary so said VPK files wouldn't play improperly anymore
This commit is contained in:
parent
5e00ff9214
commit
4469f0b861
@ -42,7 +42,7 @@ VGMSTREAM * init_vgmstream_ps2_vpk(STREAMFILE *streamFile) {
|
||||
vgmstream->loop_end_sample = vgmstream->num_samples;
|
||||
}
|
||||
|
||||
vgmstream->interleave_block_size = read_32bitLE(0x0C,streamFile)/vgmstream->channels;
|
||||
vgmstream->interleave_block_size = read_32bitLE(0x0C,streamFile)/2;
|
||||
vgmstream->layout_type = layout_interleave;
|
||||
vgmstream->meta_type = meta_PS2_VPK;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user