fix more possible crashes when deleting ins
and added a fatal error if implementation is missing
This commit is contained in:
parent
bb4dc21603
commit
c1e26ee749
34 changed files with 111 additions and 10 deletions
|
|
@ -670,6 +670,13 @@ void DivPlatformYM2610BExt::notifyInsChange(int ins) {
|
|||
}
|
||||
}
|
||||
|
||||
void DivPlatformYM2610BExt::notifyInsDeletion(void* ins) {
|
||||
DivPlatformYM2610B::notifyInsDeletion(ins);
|
||||
for (int i=0; i<4; i++) {
|
||||
opChan[i].std.notifyInsDeletion((DivInstrument*)ins);
|
||||
}
|
||||
}
|
||||
|
||||
int DivPlatformYM2610BExt::init(DivEngine* parent, int channels, int sugRate, const DivConfig& flags) {
|
||||
DivPlatformYM2610B::init(parent,channels,sugRate,flags);
|
||||
for (int i=0; i<4; i++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue