Add .trj/trm extensions [Need for Speed 3 (PS)]

This commit is contained in:
bnnm 2018-04-29 20:31:08 +02:00
parent 10e506675b
commit 65b322943f
2 changed files with 3 additions and 1 deletions

View File

@ -346,6 +346,8 @@ static const char* extension_list[] = {
"thp",
"tk5",
"tra",
"trj",
"trm",
"tun",
"txtp",
"tydsp",

View File

@ -87,7 +87,7 @@ VGMSTREAM * init_vgmstream_ea_schl(STREAMFILE *streamFile) {
/* check extension; exts don't seem enforced by EA's tools, but usually:
* STR/ASF/MUS ~early, EAM ~mid, SNG/AUD ~late, rest uncommon/one game (ex. STRM: MySims Kingdom Wii) */
if (!check_extensions(streamFile,"str,asf,mus,eam,sng,aud,sx,strm,xa,xsf,exa,stm,ast"))
if (!check_extensions(streamFile,"str,asf,mus,eam,sng,aud,sx,strm,xa,xsf,exa,stm,ast,trj,trm"))
goto fail;
/* check header */