diff --git a/fb2k/foo_vgmstream.cpp b/fb2k/foo_vgmstream.cpp index 2192f681..79c05899 100644 --- a/fb2k/foo_vgmstream.cpp +++ b/fb2k/foo_vgmstream.cpp @@ -341,6 +341,11 @@ bool input_vgmstream::g_is_our_path(const char * p_path,const char * p_extension return 1; } + if (strlen(p_extension) <= 0) { + // Last Of Us speech files have no file extension + return 1; + } + return 0; } diff --git a/src/meta/xvag.c b/src/meta/xvag.c index 382a4e0a..313b664e 100644 --- a/src/meta/xvag.c +++ b/src/meta/xvag.c @@ -19,7 +19,7 @@ VGMSTREAM * init_vgmstream_xvag(STREAMFILE *streamFile) { size_t chunk_size, stream_size; /* check extension, case insensitive */ - if (!check_extensions(streamFile,"xvag")) + if (!check_extensions(streamFile,"xvag,")) goto fail; /* check header */