add .svag as possible VAG extension

git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@172 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
This commit is contained in:
halleyscometsw 2008-05-19 08:22:23 +00:00
parent c5d066c6b5
commit 55fad001df

View File

@ -36,7 +36,8 @@ VGMSTREAM * init_vgmstream_ps2_vag(const char * const filename) {
int i;
/* check extension, case insensitive */
if (strcasecmp("vag",filename_extension(filename))) goto fail;
if (strcasecmp("vag",filename_extension(filename)) &&
strcasecmp("svag",filename_extension(filename))) goto fail;
/* try to open the file for header reading */
infile = open_streamfile_buffer(filename,0x8000);