add notifyInsDeletion

prevent invalid memory access when deleting instruments
This commit is contained in:
tildearrow 2022-01-13 19:36:02 -05:00
parent 0545775de6
commit 91e8ff01cf
18 changed files with 61 additions and 0 deletions

View file

@ -59,6 +59,7 @@ class DivPlatformAY8910: public DivDispatch {
void muteChannel(int ch, bool mute);
bool isStereo();
bool keyOffAffectsArp(int ch);
void notifyInsDeletion(void* ins);
int init(DivEngine* parent, int channels, int sugRate, bool pal);
void quit();
};