C64: filter toggle macro
This commit is contained in:
parent
8f577fb669
commit
c9b2172c4f
2 changed files with 7 additions and 2 deletions
|
|
@ -222,6 +222,10 @@ void DivPlatformC64::tick(bool sysTick) {
|
|||
filtRes=chan[i].std.ex2.val&15;
|
||||
willUpdateFilter=true;
|
||||
}
|
||||
if (chan[i].std.ex3.had) {
|
||||
chan[i].filter=(chan[i].std.ex3.val&1);
|
||||
willUpdateFilter=true;
|
||||
}
|
||||
if (chan[i].std.ex4.had) {
|
||||
chan[i].gate=chan[i].std.ex4.val&1;
|
||||
chan[i].sync=chan[i].std.ex4.val&2;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue