This commit is contained in:
tildearrow 2022-02-05 23:53:30 -05:00
parent faed39843e
commit 9091081b9f

View file

@ -294,7 +294,11 @@ int DivPlatformPCE::dispatch(DivCommand c) {
chan[c.chan].keyOn=true; chan[c.chan].keyOn=true;
break; break;
case DIV_CMD_PCE_LFO_MODE: case DIV_CMD_PCE_LFO_MODE:
if (c.value==0) {
lfoMode=0;
} else {
lfoMode=c.value; lfoMode=c.value;
}
rWrite(0x08,lfoSpeed); rWrite(0x08,lfoSpeed);
rWrite(0x09,lfoMode); rWrite(0x09,lfoMode);
break; break;