Arcade: add noise freq macro

issue #16
This commit is contained in:
tildearrow 2022-01-27 15:42:31 -05:00
parent 30b553e87e
commit c4163699b6
2 changed files with 13 additions and 2 deletions

View file

@ -215,6 +215,14 @@ void DivPlatformArcade::tick() {
}
}
if (chan[i].std.hadDuty) {
if (chan[i].std.duty>0) {
rWrite(0x0f,0x80|(0x20-chan[i].std.duty));
} else {
rWrite(0x0f,0);
}
}
if (chan[i].std.hadAlg) {
chan[i].state.alg=chan[i].std.alg;
if (isMuted[i]) {