ZX beeper: drum muting hotfix

This commit is contained in:
tildearrow 2022-05-30 00:07:24 -05:00
parent 539f96542f
commit 394a315c4a

View file

@ -208,6 +208,7 @@ int DivPlatformZXBeeper::dispatch(DivCommand c) {
chan[c.chan].duty=c.value; chan[c.chan].duty=c.value;
break; break;
case DIV_CMD_SAMPLE_MODE: case DIV_CMD_SAMPLE_MODE:
if (isMuted[c.chan]) break;
curSample=c.value; curSample=c.value;
curSamplePos=0; curSamplePos=0;
curSamplePeriod=0; curSamplePeriod=0;