mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-18 07:44:43 +01:00
Update KLBS to use original .BNK extension.
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@937 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
This commit is contained in:
parent
fcdf82d884
commit
f68125a041
@ -297,6 +297,7 @@ bool input_vgmstream::g_is_our_path(const char * p_path,const char * p_extension
|
||||
if(!stricmp_utf8(p_extension,"bgw")) return 1;
|
||||
if(!stricmp_utf8(p_extension,"bh2pcm")) return 1;
|
||||
if(!stricmp_utf8(p_extension,"bmdx")) return 1;
|
||||
if(!stricmp_utf8(p_extension,"bnk")) return 1;
|
||||
if(!stricmp_utf8(p_extension,"bns")) return 1;
|
||||
if(!stricmp_utf8(p_extension,"bnsf")) return 1;
|
||||
if(!stricmp_utf8(p_extension,"bo2")) return 1;
|
||||
@ -362,7 +363,6 @@ bool input_vgmstream::g_is_our_path(const char * p_path,const char * p_extension
|
||||
if(!stricmp_utf8(p_extension,"kces")) return 1;
|
||||
if(!stricmp_utf8(p_extension,"kcey")) return 1;
|
||||
if(!stricmp_utf8(p_extension,"khv")) return 1;
|
||||
if(!stricmp_utf8(p_extension,"klbs")) return 1;
|
||||
if(!stricmp_utf8(p_extension,"kovs")) return 1;
|
||||
if(!stricmp_utf8(p_extension,"kraw")) return 1;
|
||||
|
||||
@ -605,6 +605,7 @@ DECLARE_MULTIPLE_FILE_TYPE("BG00 Audio File (*.BG00)", bg00);
|
||||
DECLARE_MULTIPLE_FILE_TYPE("BGW Audio File (*.BGW)", bgw);
|
||||
DECLARE_MULTIPLE_FILE_TYPE("BH2PCM Audio File (*.BH2PCM)", bh2pcm);
|
||||
DECLARE_MULTIPLE_FILE_TYPE("BMDX Audio File (*.BMDX)", bmdx);
|
||||
DECLARE_MULTIPLE_FILE_TYPE("KLBS Audio File (*.BNK)", bnk);
|
||||
DECLARE_MULTIPLE_FILE_TYPE("BNS Audio File (*.BNS)", bns);
|
||||
DECLARE_MULTIPLE_FILE_TYPE("BNSF Audio File (*.BNSF)", bnsf);
|
||||
DECLARE_MULTIPLE_FILE_TYPE("BO2 Audio File (*.BO2)", bo2);
|
||||
@ -669,7 +670,6 @@ DECLARE_MULTIPLE_FILE_TYPE("JSTM Audio File (*.JSTM)", jstm);
|
||||
DECLARE_MULTIPLE_FILE_TYPE("KCES Audio File (*.KCES)", kces);
|
||||
DECLARE_MULTIPLE_FILE_TYPE("KCEY Audio File (*.KCEY)", kcey);
|
||||
DECLARE_MULTIPLE_FILE_TYPE("KHV Audio File (*.KHV)", khv);
|
||||
DECLARE_MULTIPLE_FILE_TYPE("KLBS Audio File (*.KLBS)", klbs);
|
||||
DECLARE_MULTIPLE_FILE_TYPE("KOVS Audio File (*.KOVS)", kovs);
|
||||
DECLARE_MULTIPLE_FILE_TYPE("KRAW Audio File (*.KRAW)", kraw);
|
||||
|
||||
|
@ -19,7 +19,7 @@ VGMSTREAM * init_vgmstream_ps3_klbs(STREAMFILE *streamFile)
|
||||
|
||||
/* check extension, case insensitive */
|
||||
streamFile->get_name(streamFile,filename,sizeof(filename));
|
||||
if (strcasecmp("klbs",filename_extension(filename))) goto fail;
|
||||
if (strcasecmp("bnk",filename_extension(filename))) goto fail;
|
||||
|
||||
/* check header */
|
||||
if (read_32bitBE(0x20,streamFile) != 0x6B6C4253)
|
||||
|
@ -110,6 +110,7 @@ char * extension_list[] = {
|
||||
"bgw\0BGW Audio File (*.BGW)\0",
|
||||
"bh2pcm\0BH2PCM Audio File (*.BH2PCM)\0",
|
||||
"bmdx\0BMDX Audio File (*.BMDX)\0",
|
||||
"bnk\0BNK Audio File (*.BNK)\0",
|
||||
"bns\0BNS Audio File (*.BNS)\0",
|
||||
"bnsf\0BNSF Audio File (*.BNSF)\0",
|
||||
"bo2\0BO2 Audio File (*.BO2)\0",
|
||||
@ -176,7 +177,6 @@ char * extension_list[] = {
|
||||
"kces\0KCES Audio File (*.KCES)\0",
|
||||
"kcey\0KCEY Audio File (*.KCEY)\0",
|
||||
"khv\0KHV Audio File (*.KHV)\0",
|
||||
"klbs\0KLBS Audio File (*.KLBS)\0",
|
||||
"kovs\0KOVS Audio File (*.KOVS)\0",
|
||||
"kraw\0KRAW Audio File (*.KRAW)\0",
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user