From 7eb3b1cc5bbb0201bab3b783a674de5c3a162212 Mon Sep 17 00:00:00 2001 From: NicknineTheEagle Date: Wed, 4 Nov 2020 04:51:46 +0300 Subject: [PATCH] Added .chk extension --- src/formats.c | 1 + src/meta/ea_schl.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/formats.c b/src/formats.c index b52f9b39..2af748d9 100644 --- a/src/formats.c +++ b/src/formats.c @@ -126,6 +126,7 @@ static const char* extension_list[] = { "ccc", "cd", "cfn", //fake extension for CAF (renamed, to be removed?) + "chk", "ckb", "ckd", "cks", diff --git a/src/meta/ea_schl.c b/src/meta/ea_schl.c index f2c69e3f..c7971629 100644 --- a/src/meta/ea_schl.c +++ b/src/meta/ea_schl.c @@ -136,6 +136,7 @@ VGMSTREAM* init_vgmstream_ea_schl(STREAMFILE* sf) { * .asf: ~early (audio stream file?) [ex. Need for Speed II (PC)] * .lasf: fake for plugins * .str: ~early [ex. FIFA 98 (PS1), FIFA 2002 (PS1)] + * .chk: ~early [ex. NBA Live 98 (PS1)] * .eam: ~mid? * .exa: ~mid [ex. 007 - From Russia with Love] * .sng: ~late (FIFA games) @@ -149,7 +150,7 @@ VGMSTREAM* init_vgmstream_ea_schl(STREAMFILE* sf) { * .gsf: 007 - Everything or Nothing (GC) * .mus: map/mpf+mus only? * (extensionless): SSX (PS2) (inside .big) */ - if (!check_extensions(sf,"asf,lasf,str,eam,exa,sng,aud,sx,xa,strm,stm,hab,xsf,gsf,mus,")) + if (!check_extensions(sf,"asf,lasf,str,chk,eam,exa,sng,aud,sx,xa,strm,stm,hab,xsf,gsf,mus,")) goto fail; /* check header */