diff --git a/src/engine/platform/es5506.cpp b/src/engine/platform/es5506.cpp index 28ad45eb2..5f6e28292 100644 --- a/src/engine/platform/es5506.cpp +++ b/src/engine/platform/es5506.cpp @@ -433,7 +433,6 @@ void DivPlatformES5506::tick(bool sysTick) { off=(double)center/8363.0; } if (ins->amiga.useNoteMap) { - off*=(double)noteMapind.freq/((double)MAX(1,center)*pow(2.0,((double)next-48.0)/12.0)); chan[i].pcm.note=next; } // get loop mode @@ -618,10 +617,6 @@ void DivPlatformES5506::tick(bool sysTick) { } else { off=(double)center/8363.0; } - if (ins->amiga.useNoteMap) { - DivInstrumentAmiga::SampleMap& noteMapind=ins->amiga.noteMap[chan[i].pcm.note]; - off*=(double)noteMapind.freq/((double)MAX(1,center)*pow(2.0,((double)chan[i].pcm.note-48.0)/12.0)); - } chan[i].pcm.loopStart=(chan[i].pcm.start+(s->loopStart<<11))&0xfffff800; chan[i].pcm.loopEnd=(chan[i].pcm.start+((s->loopEnd-1)<<11))&0xffffff80; chan[i].pcm.freqOffs=PITCH_OFFSET*off;