mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-14 10:37:38 +01:00
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:
parent
0ff17b590b
commit
6f86773158
@ -45,7 +45,12 @@ VGMSTREAM * init_vgmstream_psx_genh(STREAMFILE *streamFile) {
|
|||||||
vgmstream->loop_flag = (loop_start != -1);
|
vgmstream->loop_flag = (loop_start != -1);
|
||||||
|
|
||||||
vgmstream->coding_type = coding_PSX;
|
vgmstream->coding_type = coding_PSX;
|
||||||
|
if (channel_count > 1)
|
||||||
|
{
|
||||||
vgmstream->layout_type = layout_interleave;
|
vgmstream->layout_type = layout_interleave;
|
||||||
|
} else {
|
||||||
|
vgmstream->layout_type = layout_none;
|
||||||
|
}
|
||||||
|
|
||||||
vgmstream->meta_type = meta_PSX_GENH;
|
vgmstream->meta_type = meta_PSX_GENH;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user