fix a missing null pointer check
This commit is contained in:
parent
7b69a5d9c2
commit
9a03bc44bb
1 changed files with 1 additions and 0 deletions
|
|
@ -3356,6 +3356,7 @@ void DivEngine::nextBuf(float** in, float** out, int inChans, int outChans, unsi
|
|||
float decay=2.f*size/got.rate;
|
||||
for (int i=0; i<song.systemLen; i++) {
|
||||
DivDispatch* disp=disCont[i].dispatch;
|
||||
if (disp==NULL) continue;
|
||||
for (int j=0; j<disp->getOutputCount(); j++) {
|
||||
chipPeak[i][j]*=1.0-decay;
|
||||
float peak=chipPeak[i][j];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue