Fix compile

This commit is contained in:
cam900 2023-02-07 10:55:11 +09:00
parent 84cca17140
commit 575fc03b2e

View file

@ -650,10 +650,6 @@ void DivPlatformES5506::tick(bool sysTick) {
const int ind=chan[i].pcm.index; const int ind=chan[i].pcm.index;
DivSample* s=parent->getSample(ind); DivSample* s=parent->getSample(ind);
DivInstrumentAmiga::SampleMap& noteMapind=ins->amiga.noteMap[ind]; DivInstrumentAmiga::SampleMap& noteMapind=ins->amiga.noteMap[ind];
int sample=ind;
if (ins->amiga.useNoteMap) {
sample=noteMapind.map;
}
// get frequency offset // get frequency offset
double off=1.0; double off=1.0;
double center=(double)s->centerRate; double center=(double)s->centerRate;