only do dual file stereo for flat layout

git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@156 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
This commit is contained in:
halleyscometsw 2008-05-17 20:05:33 +00:00
parent d8febe1564
commit 19e067fd8c

View File

@ -661,6 +661,8 @@ 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;
/* we need at least a base and a name ending to replace */
if (strlen(filename)<2) return;