PowerNoise: fix phase reset macro

This commit is contained in:
tildearrow 2024-01-26 15:08:45 -05:00
parent 1ba7f71a0f
commit 9130fffce7

View file

@ -201,6 +201,9 @@ void DivPlatformPowerNoise::tick(bool sysTick) {
if (chan[i].slope) {
chWrite(i,0x00,slopeCtl(chan[i].active,true,chan[i].slopeA,chan[i].slopeB));
chan[i].keyOn=true;
} else {
chWrite(i,0x03,chan[i].initLFSR&0xff);
chWrite(i,0x04,chan[i].initLFSR>>8);
}
}