rely on song.systemChans
This commit is contained in:
parent
19140fb367
commit
2ff3def8f8
2 changed files with 2 additions and 1 deletions
|
|
@ -2175,7 +2175,7 @@ void DivEngine::recalcChans() {
|
|||
int chanIndex=0;
|
||||
memset(isInsTypePossible,0,DIV_INS_MAX*sizeof(bool));
|
||||
for (int i=0; i<song.systemLen; i++) {
|
||||
int chanCount=getChannelCount(song.system[i]);
|
||||
int chanCount=song.systemChans[i];
|
||||
int firstChan=chans;
|
||||
chans+=chanCount;
|
||||
for (int j=0; j<chanCount; j++) {
|
||||
|
|
|
|||
|
|
@ -400,6 +400,7 @@ struct DivSong {
|
|||
|
||||
std::vector<DivEffectStorage> effects;
|
||||
|
||||
// INTERNAL STATE - do not modify.
|
||||
DivInstrument nullIns, nullInsOPLL, nullInsOPL, nullInsOPLDrums, nullInsQSound, nullInsESFM;
|
||||
DivWavetable nullWave;
|
||||
DivSample nullSample;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue