dispatch: add function to notify playback stopped

for the PC Speaker real driver
This commit is contained in:
tildearrow 2022-03-07 01:48:48 -05:00
parent 93d160da5e
commit 8f957baa3e
5 changed files with 19 additions and 0 deletions

View file

@ -828,6 +828,9 @@ void DivEngine::stop() {
sPreview.sample=-1;
sPreview.wave=-1;
sPreview.pos=0;
for (int i=0; i<song.systemLen; i++) {
disCont[i].dispatch->notifyPlaybackStop();
}
isBusy.unlock();
}