Merge pull request #268 from AnonBaiter/patch-2

vgmstream patch #3(don't mind the number skip)
This commit is contained in:
Christopher Snowhill 2018-07-24 22:27:00 -07:00 committed by GitHub
commit b43063f8a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -363,6 +363,7 @@ static const char* extension_list[] = {
"sxd2",
"tec",
"tgq",
"thp",
"tk5",
"tra",
@ -374,6 +375,7 @@ static const char* extension_list[] = {
"ulw",
"um3",
"uv",
"v0",
//"v1", //dual channel with v0

View File

@ -37,7 +37,8 @@ VGMSTREAM * init_vgmstream_ea_1snh(STREAMFILE *streamFile) {
/* checks */
/* .asf/as4: common, cnk: some PS games, .sng: fake for plugins (to mimic EA SCHl's common extension) */
if (!check_extensions(streamFile,"asf,as4,cnk,sng"))
/* .uv, .tgq: some SAT games */
if (!check_extensions(streamFile,"asf,as4,cnk,sng,uv,tgq"))
goto fail;
if (read_32bitBE(0x00,streamFile) != 0x31534E68 && /* "1SNh" */