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

@ -2214,6 +2214,14 @@ void DivEngine::notifyInsChange(int ins) {
isBusy.unlock();
}
void DivEngine::notifyWaveChange(int wave) {
isBusy.lock();
for (int i=0; i<song.systemLen; i++) {
disCont[i].dispatch->notifyWaveChange(wave);
}
isBusy.unlock();
}
#ifdef _WIN32
#define CONFIG_FILE "\\furnace.cfg"
#else