mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-30 20:03:44 +01:00
commit
2f598e3d1b
@ -228,6 +228,12 @@ static int parse_musx_stream(STREAMFILE *streamFile, musx_header *musx) {
|
|||||||
musx->codec = DAT;
|
musx->codec = DAT;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 0x50435F5F: /* "PC__" */
|
||||||
|
default_channels = 2;
|
||||||
|
default_sample_rate = 44100;
|
||||||
|
musx->codec = DAT;
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
VGM_LOG("MUSX: unknown platform %x\n", musx->platform);
|
VGM_LOG("MUSX: unknown platform %x\n", musx->platform);
|
||||||
goto fail;
|
goto fail;
|
||||||
@ -334,9 +340,9 @@ static int parse_musx(STREAMFILE *streamFile, musx_header *musx) {
|
|||||||
musx->is_old = 1;
|
musx->is_old = 1;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 4: /* Spyro: A Hero's Tail (PS2/Xbox/GC) */
|
case 4: /* Spyro: A Hero's Tail (PS2/Xbox/GC), Athens 2004 (PC) */
|
||||||
case 5: /* Predator: Concrete Jungle (PS2/Xbox), Robots (GC) */
|
case 5: /* Predator: Concrete Jungle (PS2/Xbox), Robots (GC) */
|
||||||
case 6: /* Batman Begins (GC), Ice Age 2 (PS2) */
|
case 6: /* Batman Begins (GC), Ice Age 2 (PS2/PC) */
|
||||||
musx->platform = read_32bitBE(0x10,streamFile);
|
musx->platform = read_32bitBE(0x10,streamFile);
|
||||||
/* 0x14: some id/hash? */
|
/* 0x14: some id/hash? */
|
||||||
/* 0x18: platform number? */
|
/* 0x18: platform number? */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user