implement pitch macro

This commit is contained in:
tildearrow 2022-04-16 01:39:40 -05:00
parent af41e56acc
commit b4ac5c7e6a
30 changed files with 102 additions and 13 deletions

View file

@ -166,6 +166,9 @@ void DivPlatformSAA1099::tick(bool sysTick) {
if (chan[i].std.wave.had) {
chan[i].psgMode=chan[i].std.wave.val&3;
}
if (chan[i].std.pitch.had) {
chan[i].freqChanged=true;
}
if (chan[i].std.ex1.had) {
saaEnv[i/3]=chan[i].std.ex1.val;
rWrite(0x18+(i/3),saaEnv[i/3]);