ok, so .vig is kces, not vag

git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@418 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
This commit is contained in:
halleyscometsw 2008-08-19 14:31:22 +00:00
parent f23bf6e796
commit 05eef2c5bf
2 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,8 @@ VGMSTREAM * init_vgmstream_ps2_kces(STREAMFILE *streamFile) {
/* check extension, case insensitive */
streamFile->get_name(streamFile,filename,sizeof(filename));
if (strcasecmp("kces",filename_extension(filename))) goto fail;
if (strcasecmp("kces",filename_extension(filename)) &&
strcasecmp("vig",filename_extension(filename))) goto fail;
/* check header */
if (read_32bitBE(0x00,streamFile) != 0x01006408)

View File

@ -37,8 +37,7 @@ VGMSTREAM * init_vgmstream_ps2_vag(STREAMFILE *streamFile) {
/* check extension, case insensitive */
streamFile->get_name(streamFile,filename,sizeof(filename));
if (strcasecmp("vag",filename_extension(filename)) &&
strcasecmp("vig",filename_extension(filename))) goto fail;
if (strcasecmp("vag",filename_extension(filename))) goto fail;
/* check VAG Header */
if (((read_32bitBE(0x00,streamFile) & 0xFFFFFF00) != 0x56414700) &&