mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-17 23:36:41 +01:00
Fixed PS2 MSS sample count and description
This commit is contained in:
parent
64a14c9158
commit
2a7b645d23
@ -1,6 +1,11 @@
|
||||
#include "meta.h"
|
||||
#include "../util.h"
|
||||
|
||||
/**
|
||||
* Guerrilla's MSS
|
||||
*
|
||||
* Found in ShellShock Nam '67, Killzone (PS2)
|
||||
*/
|
||||
VGMSTREAM * init_vgmstream_ps2_mss(STREAMFILE *streamFile) {
|
||||
VGMSTREAM * vgmstream = NULL;
|
||||
char filename[PATH_LIMIT];
|
||||
@ -26,9 +31,10 @@ VGMSTREAM * init_vgmstream_ps2_mss(STREAMFILE *streamFile) {
|
||||
/* fill in the vital statistics */
|
||||
start_offset = read_32bitLE(0x08,streamFile);
|
||||
vgmstream->channels = channel_count;
|
||||
/*datasize = read_32bitLE(0x0c,streamFile) */
|
||||
vgmstream->sample_rate = read_32bitLE(0x10,streamFile);
|
||||
vgmstream->coding_type = coding_PSX;
|
||||
vgmstream->num_samples = read_32bitLE(0x1C,streamFile);
|
||||
vgmstream->num_samples = read_32bitLE(0x1C,streamFile);/* / 16 * 28 */
|
||||
vgmstream->coding_type = coding_PSX;
|
||||
|
||||
|
||||
if (channel_count == 1)
|
||||
|
@ -3222,7 +3222,7 @@ void describe_vgmstream(VGMSTREAM * vgmstream, char * desc, int length) {
|
||||
snprintf(temp,TEMPSIZE,"Mini Ninjas 'STR' header");
|
||||
break;
|
||||
case meta_PS2_MSS:
|
||||
snprintf(temp,TEMPSIZE,"ShellShock Nam '67 'MSCC' header");
|
||||
snprintf(temp,TEMPSIZE,"Guerilla MSCC header");
|
||||
break;
|
||||
case meta_PS2_HSF:
|
||||
snprintf(temp,TEMPSIZE,"Lowrider 'HSF' header");
|
||||
|
Loading…
x
Reference in New Issue
Block a user