mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-22 20:45:11 +00:00
fixed noise pitch
This commit is contained in:
parent
9d279ceadb
commit
6f370e9d62
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@ void DivPlatformSupervision::tick(bool sysTick) {
|
|||
}
|
||||
}
|
||||
ntPos+=chan[i].pitch2;
|
||||
chan[i].freq=ntPos&15;
|
||||
chan[i].freq=15-(ntPos&15);
|
||||
unsigned char r = (chan[i].freq<<4)|(chan[i].outVol&0xf);
|
||||
if (noiseReg[0] != r) rWrite(0x28,r);
|
||||
noiseReg[0] = r;
|
||||
|
|
Loading…
Reference in a new issue