remove hasSampleInsHeader()
- it is only used by MultiPCM - an alternative approach is in place
This commit is contained in:
parent
c1b7a06a37
commit
3a06e7b963
7 changed files with 21 additions and 92 deletions
|
|
@ -2681,6 +2681,9 @@ void DivEngine::loadTempIns(DivInstrument* which) {
|
|||
tempIns=new DivInstrument;
|
||||
}
|
||||
*tempIns=*which;
|
||||
for (int i=0; i<song.systemLen; i++) {
|
||||
disCont[i].dispatch->notifyInsAddition(i);
|
||||
}
|
||||
BUSY_END;
|
||||
}
|
||||
|
||||
|
|
@ -2706,15 +2709,6 @@ void DivEngine::delInstrumentUnsafe(int index) {
|
|||
}
|
||||
removeAsset(song.insDir,index);
|
||||
checkAssetDir(song.insDir,song.ins.size());
|
||||
bool hasSampleIns=false;
|
||||
for (int s=0; s<song.systemLen; s++) {
|
||||
if (disCont[s].dispatch->hasSampleInsHeader()) {
|
||||
hasSampleIns=true;
|
||||
}
|
||||
}
|
||||
if (hasSampleIns) {
|
||||
renderSamplesP();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue