mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-18 07:44:43 +01:00
Add .CD wav extension
This commit is contained in:
parent
c90c00f837
commit
4d0c8b54fd
@ -88,6 +88,7 @@ VGMSTREAM_DECLARE_FILE_TYPE("CAF", caf);
|
|||||||
VGMSTREAM_DECLARE_FILE_TYPE("CAPDSP", capdsp);
|
VGMSTREAM_DECLARE_FILE_TYPE("CAPDSP", capdsp);
|
||||||
VGMSTREAM_DECLARE_FILE_TYPE("CBD2", cbd2);
|
VGMSTREAM_DECLARE_FILE_TYPE("CBD2", cbd2);
|
||||||
VGMSTREAM_DECLARE_FILE_TYPE("CCC", ccc);
|
VGMSTREAM_DECLARE_FILE_TYPE("CCC", ccc);
|
||||||
|
VGMSTREAM_DECLARE_FILE_TYPE("CD", cd);
|
||||||
VGMSTREAM_DECLARE_FILE_TYPE("CFN", cfn);
|
VGMSTREAM_DECLARE_FILE_TYPE("CFN", cfn);
|
||||||
VGMSTREAM_DECLARE_FILE_TYPE("CKD", ckd);
|
VGMSTREAM_DECLARE_FILE_TYPE("CKD", ckd);
|
||||||
VGMSTREAM_DECLARE_FILE_TYPE("CNK", cnk);
|
VGMSTREAM_DECLARE_FILE_TYPE("CNK", cnk);
|
||||||
|
@ -81,6 +81,7 @@ static const char* extension_list[] = {
|
|||||||
"capdsp",
|
"capdsp",
|
||||||
"cbd2",
|
"cbd2",
|
||||||
"ccc",
|
"ccc",
|
||||||
|
"cd",
|
||||||
"cfn",
|
"cfn",
|
||||||
"ckd",
|
"ckd",
|
||||||
"cnk",
|
"cnk",
|
||||||
|
@ -262,9 +262,10 @@ VGMSTREAM * init_vgmstream_riff(STREAMFILE *streamFile) {
|
|||||||
|
|
||||||
/* check extension, case insensitive */
|
/* check extension, case insensitive */
|
||||||
streamFile->get_name(streamFile,filename,sizeof(filename));
|
streamFile->get_name(streamFile,filename,sizeof(filename));
|
||||||
if (strcasecmp("wav",filename_extension(filename)) &&
|
if (strcasecmp("wav",filename_extension(filename))
|
||||||
strcasecmp("lwav",filename_extension(filename)) &&
|
&& strcasecmp("lwav",filename_extension(filename))
|
||||||
strcasecmp("da",filename_extension(filename)) /* SD Gundam - Over Galaxian, The Great Battle VI (PS) */
|
&& strcasecmp("da",filename_extension(filename)) /* SD Gundam - Over Galaxian, The Great Battle VI (PS) */
|
||||||
|
&& strcasecmp("cd",filename_extension(filename)) /* Exector (PS) */
|
||||||
#ifndef VGM_USE_FFMPEG
|
#ifndef VGM_USE_FFMPEG
|
||||||
&& strcasecmp("sgb",filename_extension(filename)) /* SGB has proper support with FFmpeg in sgxd */
|
&& strcasecmp("sgb",filename_extension(filename)) /* SGB has proper support with FFmpeg in sgxd */
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user