total extinction of legacy sample mode, part 10

it's ready! you must merge, now!
This commit is contained in:
tildearrow 2025-11-10 04:43:45 -05:00
parent edb1395058
commit 55c3966eda
5 changed files with 40 additions and 4 deletions

View file

@ -424,7 +424,7 @@ void DivPlatformNES::tick(bool sysTick) {
DivSample* s=parent->getSample(dacSample);
off=(double)s->centerRate/parent->getCenterRate();
}
dacRate=MIN(chan[4].freq*off,32000);
dacRate=MIN(chan[4].freq*off,48000);
if (chan[4].keyOn) {
if (dpcmMode && !skipRegisterWrites && dacSample>=0 && dacSample<parent->song.sampleLen) {
unsigned int dpcmAddr=sampleOffDPCM[dacSample]+(dacPos>>3);