mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-27 15:03:01 +00:00
YM2151: fix LFO
This commit is contained in:
parent
7990dc1965
commit
9f2cb1450f
1 changed files with 4 additions and 0 deletions
|
@ -218,6 +218,10 @@ void DivPlatformArcade::tick(bool sysTick) {
|
|||
immWrite(0x18,chan[i].std.ex3.val);
|
||||
}
|
||||
|
||||
if (chan[i].std.ex1.had || chan[i].std.ex2.had || chan[i].std.ex3.had) {
|
||||
immWrite(0x01,0x00); // LFO On
|
||||
}
|
||||
|
||||
if (chan[i].std.alg.had) {
|
||||
chan[i].state.alg=chan[i].std.alg.val;
|
||||
if (isMuted[i]) {
|
||||
|
|
Loading…
Reference in a new issue