This commit is contained in:
tildearrow 2022-02-05 23:53:30 -05:00
parent faed39843e
commit 9091081b9f
1 changed files with 5 additions and 1 deletions

View File

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