proper behavior for single channel genh

git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@216 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
This commit is contained in:
halleyscometsw 2008-06-09 10:26:17 +00:00
parent 0ff17b590b
commit 6f86773158

View File

@ -45,7 +45,12 @@ VGMSTREAM * init_vgmstream_psx_genh(STREAMFILE *streamFile) {
vgmstream->loop_flag = (loop_start != -1);
vgmstream->coding_type = coding_PSX;
vgmstream->layout_type = layout_interleave;
if (channel_count > 1)
{
vgmstream->layout_type = layout_interleave;
} else {
vgmstream->layout_type = layout_none;
}
vgmstream->meta_type = meta_PSX_GENH;