mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-28 16:30:54 +01:00
Add .snb extension [Def Jam Rapstar (X360)]
This commit is contained in:
parent
0f7fcf5965
commit
7d37126558
@ -498,6 +498,7 @@ static const char* extension_list[] = {
|
|||||||
"smp",
|
"smp",
|
||||||
"smpl", //fake extension/header id for .v0/v1 (renamed, to be removed)
|
"smpl", //fake extension/header id for .v0/v1 (renamed, to be removed)
|
||||||
"smv",
|
"smv",
|
||||||
|
"snb",
|
||||||
"snd",
|
"snd",
|
||||||
"snds",
|
"snds",
|
||||||
"sng",
|
"sng",
|
||||||
|
@ -15,10 +15,12 @@ VGMSTREAM* init_vgmstream_smp(STREAMFILE* sf) {
|
|||||||
if (version != 0x05 && /* Ghostbusters (PS2), Mushroom Men (Wii) */
|
if (version != 0x05 && /* Ghostbusters (PS2), Mushroom Men (Wii) */
|
||||||
version != 0x06 && /* Ghostbusters (PS3/X360/PC) */
|
version != 0x06 && /* Ghostbusters (PS3/X360/PC) */
|
||||||
version != 0x07 && /* Ghostbusters (PSP) */
|
version != 0x07 && /* Ghostbusters (PSP) */
|
||||||
version != 0x08) /* Chandragupta (PS2/PSP), Street Cricket Champions 1/2 (PSP), Guilty Party (Wii) */
|
version != 0x08) /* Def Jam Rapstar (X360), Chandragupta (PS2/PSP), Street Cricket Champions 1/2 (PSP), Guilty Party (Wii) */
|
||||||
goto fail;
|
goto fail;
|
||||||
|
|
||||||
if (!check_extensions(sf, "smp"))
|
/* .smp: common
|
||||||
|
* .snb: Def Jam Rapstar (X360)-few files */
|
||||||
|
if (!check_extensions(sf, "smp,snb"))
|
||||||
goto fail;
|
goto fail;
|
||||||
|
|
||||||
/* 0x04~14: guid? */
|
/* 0x04~14: guid? */
|
||||||
|
Loading…
Reference in New Issue
Block a user