Add .ai AIFF extension [Dragon Force (SAT) sfx]

This commit is contained in:
bnnm 2018-07-23 20:05:35 +02:00
parent 65b80e5fd7
commit 2f5abcb11a
2 changed files with 3 additions and 1 deletions

View File

@ -32,6 +32,7 @@ static const char* extension_list[] = {
"afc",
"agsc",
"ahx",
"ai",
//"aif", //common
"aifc", //common?
"aifcl", //fake extension, for AIF???

View File

@ -71,6 +71,7 @@ VGMSTREAM * init_vgmstream_aifc(STREAMFILE *streamFile) {
* .bgm: Super Street Fighter II Turbo (3DO)
* .acm: Crusader - No Remorse (SAT)
* .adp: Sonic Jam (SAT)
* .ai: Dragon Force (SAT)
* .aifcl/aiffl: for plugins? */
if (check_extensions(streamFile, "aif")) {
is_aifc_ext = 1;
@ -79,7 +80,7 @@ VGMSTREAM * init_vgmstream_aifc(STREAMFILE *streamFile) {
else if (check_extensions(streamFile, "aifc,aifcl,afc,cbd2,bgm")) {
is_aifc_ext = 1;
}
else if (check_extensions(streamFile, "aiff,acm,adp,aiffl")) {
else if (check_extensions(streamFile, "aiff,acm,adp,ai,aiffl")) {
is_aiff_ext = 1;
}
else {