fixed layout_none

git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@158 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
This commit is contained in:
fastelbja 2008-05-17 22:00:10 +00:00
parent 1c0d345e61
commit c9110c2fd2

View File

@ -671,8 +671,10 @@ void try_dual_file_stereo(VGMSTREAM * opened_stream, const char * const filename
int i,j;
if (opened_stream->channels != 1) return;
/* vgmstream's layout stuff currently assumes a single file */
if (opened_stream->layout != layout_none) return;
/* vgmstream's layout stuff currently assumes a single file */
// fastelbja : no need ... this one works ok with dual file
//if (opened_stream->layout != layout_none) return;
/* we need at least a base and a name ending to replace */
if (strlen(filename)<2) return;