From 4337f00d5d6b43daac1a50fe8e6a3088d3d2a1f0 Mon Sep 17 00:00:00 2001 From: bnnm Date: Fri, 27 Jul 2018 17:12:09 +0200 Subject: [PATCH] Fix XWB v1 subsongs [Silent Scope Complete (Xbox)] --- src/meta/xwb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/meta/xwb.c b/src/meta/xwb.c index e970c78b..2e74e0eb 100644 --- a/src/meta/xwb.c +++ b/src/meta/xwb.c @@ -111,8 +111,8 @@ VGMSTREAM * init_vgmstream_xwb(STREAMFILE *streamFile) { xwb.base_offset = 0; xwb.base_size = 0; xwb.entry_offset = 0x50; - xwb.entry_size = xwb.entry_elem_size * xwb.total_subsongs; xwb.entry_elem_size = 0x14; + xwb.entry_size = xwb.entry_elem_size * xwb.total_subsongs; xwb.data_offset = xwb.entry_offset + xwb.entry_size; xwb.data_size = get_streamfile_size(streamFile) - xwb.data_offset;