Merge pull request #1458 from EdnessP/master

EA BNK: .CAT extension (FIFA 2000)
This commit is contained in:
bnnm 2023-12-10 11:37:36 +01:00 committed by GitHub
commit abbd226b36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -131,6 +131,7 @@ static const char* extension_list[] = {
"cads", "cads",
"caf", "caf",
"cat",
"cbd2", "cbd2",
"cd", "cd",
"cfn", //fake extension for CAF (renamed, to be removed?) "cfn", //fake extension for CAF (renamed, to be removed?)

View File

@ -297,8 +297,9 @@ VGMSTREAM* init_vgmstream_ea_bnk(STREAMFILE* sf) {
* .sdt: Harry Potter games, Burnout games (PSP) * .sdt: Harry Potter games, Burnout games (PSP)
* .hdt/ldt: Burnout games (PSP) * .hdt/ldt: Burnout games (PSP)
* .abk: GoldenEye - Rogue Agent * .abk: GoldenEye - Rogue Agent
* .ast: FIFA 2004 (inside .big) */ * .ast: FIFA 2004 (inside .big)
if (!check_extensions(sf,"bnk,sdt,hdt,ldt,abk,ast")) * .cat: FIFA 2000 (PC, chant.cat) */
if (!check_extensions(sf,"bnk,sdt,hdt,ldt,abk,ast,cat"))
goto fail; goto fail;
if (target_stream == 0) target_stream = 1; if (target_stream == 0) target_stream = 1;