From 5bf0ddbfac551a51be57c2dd240b8789b9e6732f Mon Sep 17 00:00:00 2001 From: bnnm Date: Sun, 27 Aug 2017 22:18:08 +0200 Subject: [PATCH] Fix RWS PCM16BE [The Legend of Spyro (X360)] --- src/meta/rws.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/meta/rws.c b/src/meta/rws.c index b5db46f9..fee8a170 100644 --- a/src/meta/rws.c +++ b/src/meta/rws.c @@ -160,9 +160,10 @@ VGMSTREAM * init_vgmstream_rws(STREAMFILE *streamFile) { switch(codec) { case 0xD01BD217: /* PCM X360 (D01BD217 35874EED B9D9B8E8 6EA9B995) */ - /* The Legend of Spyro (X360) */ - vgmstream->coding_type = coding_PCM16BE; - //vgmstream->interleave_block_size = block_size / 2; //0x2; //todo 2ch PCM not working correctly (interleaved PCM not ok?) + /* ex. The Legend of Spyro (X360) */ + vgmstream->coding_type = coding_PCM16_int; + vgmstream->codec_endian = 1; /* big */ + vgmstream->interleave_block_size = 0x02; /* only used to setup channels */ vgmstream->num_samples = pcm_bytes_to_samples(stream_size, channel_count, 16); break;