From 883738e75cf029f8feb8342f7b424c11c1af004d Mon Sep 17 00:00:00 2001 From: EdnessP <55930127+EdnessP@users.noreply.github.com> Date: Sat, 9 Dec 2023 14:53:18 +0200 Subject: [PATCH] EA BNK: .CAT extension (FIFA 2000) --- src/formats.c | 1 + src/meta/ea_schl.c | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/formats.c b/src/formats.c index 309dd2c61..12bcaa159 100644 --- a/src/formats.c +++ b/src/formats.c @@ -131,6 +131,7 @@ static const char* extension_list[] = { "cads", "caf", + "cat", "cbd2", "cd", "cfn", //fake extension for CAF (renamed, to be removed?) diff --git a/src/meta/ea_schl.c b/src/meta/ea_schl.c index a64f15fd1..ec7435802 100644 --- a/src/meta/ea_schl.c +++ b/src/meta/ea_schl.c @@ -297,8 +297,9 @@ VGMSTREAM* init_vgmstream_ea_bnk(STREAMFILE* sf) { * .sdt: Harry Potter games, Burnout games (PSP) * .hdt/ldt: Burnout games (PSP) * .abk: GoldenEye - Rogue Agent - * .ast: FIFA 2004 (inside .big) */ - if (!check_extensions(sf,"bnk,sdt,hdt,ldt,abk,ast")) + * .ast: FIFA 2004 (inside .big) + * .cat: FIFA 2000 (PC, chant.cat) */ + if (!check_extensions(sf,"bnk,sdt,hdt,ldt,abk,ast,cat")) goto fail; if (target_stream == 0) target_stream = 1;