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:
AnonBaiter 2018-08-10 15:09:37 -03:00 committed by GitHub
parent 5e00ff9214
commit 4469f0b861
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;