mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-12 09:40:51 +01:00
fix channels count for MIB
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@119 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
This commit is contained in:
parent
feb99a151c
commit
90984fedc8
@ -87,8 +87,8 @@ VGMSTREAM * init_vgmstream_ps2_mib(const char * const filename) {
|
||||
if(interleave==0) interleave=readOffset-0x10;
|
||||
|
||||
// be sure to point to an interleave value
|
||||
if((((readOffset-0x10)%interleave)==interleave) || ((readOffset-0x10)==interleave)) {
|
||||
if (channel_count<6) channel_count++;
|
||||
if(((readOffset-0x10)==channel_count*interleave)) {
|
||||
channel_count++;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user