From cd8908869f8b4e5e8b7418d7723ea3308f34ab56 Mon Sep 17 00:00:00 2001 From: bxaimc Date: Sun, 15 May 2011 19:20:31 +0000 Subject: [PATCH] Add support for PSP MUSX from Pirates of the Caribbean: At World's End git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@950 51a99a44-fe44-0410-b1ba-c3e57ba2b86b --- src/meta/musx.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/meta/musx.c b/src/meta/musx.c index 215b37bc..1eaf5b73 100644 --- a/src/meta/musx.c +++ b/src/meta/musx.c @@ -333,6 +333,16 @@ VGMSTREAM * init_vgmstream_musx_v010(STREAMFILE *streamFile) { vgmstream->loop_end_sample = read_32bitLE(0x40,streamFile); } break; + case 0x5053505F: /* PSP_ */ + start_offset = 0x800; + vgmstream->channels = channel_count; + vgmstream->sample_rate = 32768; + vgmstream->coding_type = coding_PSX; + vgmstream->num_samples = (read_32bitLE(0xC,streamFile))*28/32; + vgmstream->layout_type = layout_interleave; + vgmstream->interleave_block_size = 0x80; + vgmstream->meta_type = meta_MUSX_V010; + break; case 0x5053335F: /* PS3_ */ start_offset = 0x800; vgmstream->channels = channel_count;