VGM export: fix Genesis samples wrongly pitched

This commit is contained in:
tildearrow 2022-02-01 03:23:29 -05:00
parent df97142157
commit 4f5d37d415

View file

@ -211,7 +211,7 @@ void DivPlatformGenesis::tick() {
immWrite(chanOffs[i]+ADDR_FREQ,freqt&0xff);
if (chan[i].furnaceDac) {
dacRate=(1280000*1.25)/chan[i].baseFreq;
if (dumpWrites) addWrite(0xffff0001,chan[i].baseFreq);
if (dumpWrites) addWrite(0xffff0001,1280000/dacRate);
}
chan[i].freqChanged=false;
}