mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-16 17:45:10 +00:00
oh...
This commit is contained in:
parent
faed39843e
commit
9091081b9f
1 changed files with 5 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue