From bb76ff11b868f217c7b6e33415571e0da67964d4 Mon Sep 17 00:00:00 2001 From: Chris Moeller Date: Sun, 19 Oct 2014 16:47:04 -0700 Subject: [PATCH] Added missing file name extensions --- fb2k/in_vgmstream.cpp | 1 + unix/exts.cc | 2 ++ winamp/in_vgmstream.c | 64 +++++++++++++++++++++---------------------- 3 files changed, 35 insertions(+), 32 deletions(-) diff --git a/fb2k/in_vgmstream.cpp b/fb2k/in_vgmstream.cpp index 9dae58a3..84486e6d 100644 --- a/fb2k/in_vgmstream.cpp +++ b/fb2k/in_vgmstream.cpp @@ -339,6 +339,7 @@ bool input_vgmstream::g_is_our_path(const char * p_path,const char * p_extension if(!stricmp_utf8(p_extension,"fag")) return 1; if(!stricmp_utf8(p_extension,"filp")) return 1; if(!stricmp_utf8(p_extension,"fsb")) return 1; + if(!stricmp_utf8(p_extension,"fwav")) return 1; if(!stricmp_utf8(p_extension,"g1l")) return 1; if(!stricmp_utf8(p_extension,"gbts")) return 1; diff --git a/unix/exts.cc b/unix/exts.cc index 90b50c73..158e59c8 100644 --- a/unix/exts.cc +++ b/unix/exts.cc @@ -35,6 +35,7 @@ const char *vgmstream_exts[] = "bcstm", "bcwav", "bfwav", + "bfwavnsmbu", "bg00", "bgw", "bh2pcm", @@ -73,6 +74,7 @@ const char *vgmstream_exts[] = "fag", "filp", "fsb", + "fwav", "gbts", "gca", diff --git a/winamp/in_vgmstream.c b/winamp/in_vgmstream.c index 5cb0c648..cc7298f2 100644 --- a/winamp/in_vgmstream.c +++ b/winamp/in_vgmstream.c @@ -75,42 +75,42 @@ int fade_samples = 0; char working_extension_list[EXTENSION_LIST_SIZE] = {0}; char * extension_list[] = { - "2dx9\0""2DX9 Audio File (*.2DX9)\0", - "2pfs\0""2PFS Audio File (*.2PFS)\0", + "2dx9\0""2DX9 Audio File (*.2DX9)\0", + "2pfs\0""2PFS Audio File (*.2PFS)\0", - "aax\0AAX Audio File (*.AAX)\0", - "aaap\0AAAP Audio File (*.AAAP)\0", - "aax\0AAX Audio File (*.AAX)\0", - "acm\0ACM Audio File (*.ACM)\0", - "adm\0ADM Audio File (*.ADM)\0", - "adpcm\0ADPCM Audio File (*.ADPCM)\0", - "adp\0ADP Audio File (*.ADP)\0", - "ads\0PS2 ADS Audio File (*.ADS)\0", - "adx\0ADX Audio File (*.ADX)\0", - "afc\0AFC Audio File (*.AFC)\0", - "agsc\0AGSC Audio File (*.AGSC)\0", - "ahx\0AHX Audio File (*.AHX)\0", - "aifc\0AIFC Audio File (*.AIFC)\0", - "aix\0AIX Audio File (*.AIX)\0", - "amts\0AMTS Audio File (*.AMTS)\0", - "as4\0AS4 Audio File (*.AS4)\0", - "asd\0ASD Audio File (*.ASD)\0", - "asf\0ASF Audio File (*.ASF)\0", - "ast\0AST Audio File (*.AST)\0", - "asr\0ASR Audio File (*.ASR)\0", - "ass\0ASS Audio File (*.ASS)\0", - "aud\0AUD Audio File (*.AUD)\0", - "aus\0AUS Audio File (*.AUS)\0", + "aax\0AAX Audio File (*.AAX)\0", + "aaap\0AAAP Audio File (*.AAAP)\0", + "aax\0AAX Audio File (*.AAX)\0", + "acm\0ACM Audio File (*.ACM)\0", + "adm\0ADM Audio File (*.ADM)\0", + "adpcm\0ADPCM Audio File (*.ADPCM)\0", + "adp\0ADP Audio File (*.ADP)\0", + "ads\0PS2 ADS Audio File (*.ADS)\0", + "adx\0ADX Audio File (*.ADX)\0", + "afc\0AFC Audio File (*.AFC)\0", + "agsc\0AGSC Audio File (*.AGSC)\0", + "ahx\0AHX Audio File (*.AHX)\0", + "aifc\0AIFC Audio File (*.AIFC)\0", + "aix\0AIX Audio File (*.AIX)\0", + "amts\0AMTS Audio File (*.AMTS)\0", + "as4\0AS4 Audio File (*.AS4)\0", + "asd\0ASD Audio File (*.ASD)\0", + "asf\0ASF Audio File (*.ASF)\0", + "ast\0AST Audio File (*.AST)\0", + "asr\0ASR Audio File (*.ASR)\0", + "ass\0ASS Audio File (*.ASS)\0", + "aud\0AUD Audio File (*.AUD)\0", + "aus\0AUS Audio File (*.AUS)\0", - "b1s\0B1S Audio File (*.B1S)\0", - "baka\0BAKA Audio File (*.BAKA)\0", - "baf\0BAF Audio File (*.BAF)\0", - "bar\0BAR Audio File (*.BAR)\0", + "b1s\0B1S Audio File (*.B1S)\0", + "baka\0BAKA Audio File (*.BAKA)\0", + "baf\0BAF Audio File (*.BAF)\0", + "bar\0BAR Audio File (*.BAR)\0", "bcstm\0BCSTM Audio File (*.BCSTM)\0", - "bcwav\0BCWAV (*.BCWAV)\0", - "bdsp\0BDSP Audio File (*.BDSP)\0", + "bcwav\0BCWAV (*.BCWAV)\0", + "bdsp\0BDSP Audio File (*.BDSP)\0", "bfstm\0BFSTM Audio File (*.BFSTM)\0", - "bfwav;bfwavnsmbu\0BFWAV Audio File (*.BFWAV)\0", + "bfwav;bfwavnsmbu;fwav\0BFWAV Audio File (*.BFWAV)\0", "bg00\0BG00 Audio File (*.BG00)\0", "bgw\0BGW Audio File (*.BGW)\0", "bh2pcm\0BH2PCM Audio File (*.BH2PCM)\0",