Add .kvs extension [Atelier Sophie (PC)]

This commit is contained in:
bnnm 2018-01-04 21:17:17 +01:00
parent 51061c1316
commit fddd17f808
2 changed files with 2 additions and 1 deletions

View File

@ -158,6 +158,7 @@ static const char* extension_list[] = {
"kovs", "kovs",
"kraw", "kraw",
"ktss", "ktss",
"kvs",
"laac", //fake extension, for AAC (tri-Ace/FFmpeg) "laac", //fake extension, for AAC (tri-Ace/FFmpeg)
"lac3", //fake extension, for AC3 "lac3", //fake extension, for AC3

View File

@ -189,7 +189,7 @@ VGMSTREAM * init_vgmstream_ogg_vorbis(STREAMFILE *streamFile) {
strcasecmp("ogg",filename_extension(filename))) { strcasecmp("ogg",filename_extension(filename))) {
if (!strcasecmp("um3",filename_extension(filename))) { if (!strcasecmp("um3",filename_extension(filename))) {
um3_ogg = 1; um3_ogg = 1;
} else if (!strcasecmp("kovs",filename_extension(filename))) { } else if (check_extensions(streamFile,"kvs,kovs")) { /* .kvs: Atelier Sophie, kovs: header id only? */
kovs_ogg = 1; kovs_ogg = 1;
} else { } else {
goto fail; goto fail;