add notifyInsDeletion
prevent invalid memory access when deleting instruments
This commit is contained in:
parent
0545775de6
commit
91e8ff01cf
18 changed files with 61 additions and 0 deletions
|
|
@ -311,6 +311,12 @@ void DivPlatformC64::forceIns() {
|
|||
updateFilter();
|
||||
}
|
||||
|
||||
void DivPlatformC64::notifyInsDeletion(void* ins) {
|
||||
for (int i=0; i<3; i++) {
|
||||
chan[i].std.notifyInsDeletion((DivInstrument*)ins);
|
||||
}
|
||||
}
|
||||
|
||||
void DivPlatformC64::reset() {
|
||||
for (int i=0; i<3; i++) {
|
||||
chan[i]=DivPlatformC64::Channel();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue