Add .KNS for KTSS meta

This commit is contained in:
bxaimc 2018-04-29 13:24:01 -04:00
parent 47d2b53c23
commit ce2082a8d4
3 changed files with 5 additions and 4 deletions

View File

@ -166,8 +166,9 @@ static const char* extension_list[] = {
"khv",
"km9",
"kovs", //.kvs header id
"kns",
"kraw",
"ktss",
"ktss", //.kns header id
"kvs",
"l",
@ -923,7 +924,7 @@ static const meta_info meta_info_list[] = {
{meta_CSTM, "Nintendo 3DS CSTM Header"},
{meta_FSTM, "Nintendo Wii U FSTM Header"},
{meta_KT_WIIBGM, "Koei Tecmo WiiBGM Header"},
{meta_KTSS, "Koei Tecmo Switch Sound Header"},
{meta_KTSS, "Koei Tecmo Nintendo Stream KTSS Header"},
{meta_3DS_IDSP, "Nintendo IDSP Header"},
{meta_WIIU_BTSND, "Nintendo Wii U Menu Boot Sound"},
{meta_MCA, "Capcom MCA header"},

View File

@ -10,7 +10,7 @@ VGMSTREAM * init_vgmstream_ktss(STREAMFILE *streamFile) {
int32_t loop_length, coef_start_offset, coef_spacing;
off_t start_offset;
if (!check_extensions(streamFile, "ktss"))
if (!check_extensions(streamFile, "kns,ktss"))
goto fail;
if (read_32bitBE(0, streamFile) != 0x4B545353) /* "KTSS" */

View File

@ -595,7 +595,7 @@ typedef enum {
meta_FSTM, /* Nintendo Wii U FSTM (caFe? Stream) */
meta_3DS_IDSP, /* Nintendo 3DS/Wii U IDSP */
meta_KT_WIIBGM, /* Koei Tecmo WiiBGM */
meta_KTSS, /* Koei Tecmo Switch Sound */
meta_KTSS, /* Koei Tecmo Nintendo Stream (KNS) */
meta_MCA, /* Capcom MCA "MADP" */
meta_XB3D_ADX, /* Xenoblade Chronicles 3D ADX */
meta_HCA, /* CRI HCA */