mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-18 07:44:43 +01:00
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:
parent
d8febe1564
commit
19e067fd8c
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user