mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-02 02:52:40 +00:00
PowerNoise: fix phase reset macro
This commit is contained in:
parent
1ba7f71a0f
commit
9130fffce7
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue