add notifyWaveChange

fixes #8
This commit is contained in:
tildearrow 2022-01-18 00:25:10 -05:00
parent af30d4990a
commit 345962092e
11 changed files with 49 additions and 0 deletions

View file

@ -313,6 +313,14 @@ bool DivPlatformPCE::keyOffAffectsArp(int ch) {
return true;
}
void DivPlatformPCE::notifyWaveChange(int wave) {
for (int i=0; i<6; i++) {
if (chan[i].wave==wave) {
updateWave(i);
}
}
}
void DivPlatformPCE::notifyInsDeletion(void* ins) {
for (int i=0; i<6; i++) {
chan[i].std.notifyInsDeletion((DivInstrument*)ins);