mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-31 04:13:47 +01:00
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
This commit is contained in:
parent
69f4a4445f
commit
cd8908869f
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user