From 4469f0b8614779ad9c19681f44409dbbf22ce5ce Mon Sep 17 00:00:00 2001 From: AnonBaiter Date: Fri, 10 Aug 2018 15:09:37 -0300 Subject: [PATCH] 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 --- src/meta/ps2_vpk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/meta/ps2_vpk.c b/src/meta/ps2_vpk.c index 8709809d..dd11030d 100644 --- a/src/meta/ps2_vpk.c +++ b/src/meta/ps2_vpk.c @@ -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;