mirror of
https://github.com/tildearrow/furnace.git
synced 2024-12-31 20:11:29 +00:00
VGM export: fix Genesis samples wrongly pitched
This commit is contained in:
parent
df97142157
commit
4f5d37d415
1 changed files with 1 additions and 1 deletions
|
@ -211,7 +211,7 @@ void DivPlatformGenesis::tick() {
|
||||||
immWrite(chanOffs[i]+ADDR_FREQ,freqt&0xff);
|
immWrite(chanOffs[i]+ADDR_FREQ,freqt&0xff);
|
||||||
if (chan[i].furnaceDac) {
|
if (chan[i].furnaceDac) {
|
||||||
dacRate=(1280000*1.25)/chan[i].baseFreq;
|
dacRate=(1280000*1.25)/chan[i].baseFreq;
|
||||||
if (dumpWrites) addWrite(0xffff0001,chan[i].baseFreq);
|
if (dumpWrites) addWrite(0xffff0001,1280000/dacRate);
|
||||||
}
|
}
|
||||||
chan[i].freqChanged=false;
|
chan[i].freqChanged=false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue