Dave: fix potential DAC hang

This commit is contained in:
tildearrow 2024-07-13 17:10:19 -05:00
parent d769264e25
commit 54c679ba50

View file

@ -74,6 +74,7 @@ void DivPlatformDave::acquire(short** buf, size_t len) {
chan[i].dacSample=-1;
writeControl=true;
chan[0].writeVol=true;
chan[i].dacPeriod-=rate;
continue;
}
signed char dacData=(s->data8[chan[i].dacPos]*chan[i].outVol)>>8;