mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-16 01:35:07 +00:00
parent
941aab0def
commit
12ade13580
1 changed files with 2 additions and 2 deletions
|
@ -114,8 +114,8 @@ void DivPlatformSegaPCM::tick() {
|
||||||
off=(double)s->centerRate/8363.0;
|
off=(double)s->centerRate/8363.0;
|
||||||
}
|
}
|
||||||
chan[i].pcm.freq=MIN(255,(15625+(off*parent->song.tuning*pow(2.0,double(chan[i].freq+256)/(64.0*12.0)))*255)/31250);
|
chan[i].pcm.freq=MIN(255,(15625+(off*parent->song.tuning*pow(2.0,double(chan[i].freq+256)/(64.0*12.0)))*255)/31250);
|
||||||
if (dumpWrites && i>=8) {
|
if (dumpWrites) {
|
||||||
addWrite(0x10007+((i-8)<<3),chan[i].pcm.freq);
|
addWrite(0x10007+(i<<3),chan[i].pcm.freq);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
chan[i].freqChanged=false;
|
chan[i].freqChanged=false;
|
||||||
|
|
Loading…
Reference in a new issue