fixed channel offset

git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@654 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
This commit is contained in:
bxaimc 2009-05-23 01:57:59 +00:00
parent 4f79513ce3
commit 2d7e680cc4

View File

@ -27,7 +27,7 @@ VGMSTREAM * init_vgmstream_sd9(STREAMFILE *streamFile) {
goto fail;
loop_flag = (read_16bitLE(0xe,streamFile)==0x1);
channel_count = read_16bitLE(0x34,streamFile);
channel_count = read_16bitLE(0x36,streamFile);
/* build the VGMSTREAM */
vgmstream = allocate_vgmstream(channel_count,loop_flag);