mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-17 23:36:41 +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("CBD2", cbd2);
|
||||
VGMSTREAM_DECLARE_FILE_TYPE("CCC", ccc);
|
||||
VGMSTREAM_DECLARE_FILE_TYPE("CD", cd);
|
||||
VGMSTREAM_DECLARE_FILE_TYPE("CFN", cfn);
|
||||
VGMSTREAM_DECLARE_FILE_TYPE("CKD", ckd);
|
||||
VGMSTREAM_DECLARE_FILE_TYPE("CNK", cnk);
|
||||
|
@ -81,6 +81,7 @@ static const char* extension_list[] = {
|
||||
"capdsp",
|
||||
"cbd2",
|
||||
"ccc",
|
||||
"cd",
|
||||
"cfn",
|
||||
"ckd",
|
||||
"cnk",
|
||||
|
@ -262,13 +262,14 @@ VGMSTREAM * init_vgmstream_riff(STREAMFILE *streamFile) {
|
||||
|
||||
/* check extension, case insensitive */
|
||||
streamFile->get_name(streamFile,filename,sizeof(filename));
|
||||
if (strcasecmp("wav",filename_extension(filename)) &&
|
||||
strcasecmp("lwav",filename_extension(filename)) &&
|
||||
strcasecmp("da",filename_extension(filename)) /* SD Gundam - Over Galaxian, The Great Battle VI (PS) */
|
||||
if (strcasecmp("wav",filename_extension(filename))
|
||||
&& strcasecmp("lwav",filename_extension(filename))
|
||||
&& 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
|
||||
&& 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
|
||||
&& strcasecmp("med",filename_extension(filename))
|
||||
&& strcasecmp("med",filename_extension(filename))
|
||||
)
|
||||
{
|
||||
if (!strcasecmp("mwv",filename_extension(filename)))
|
||||
|
Loading…
x
Reference in New Issue
Block a user