partially bring up sample map

This commit is contained in:
tildearrow 2022-05-13 23:04:40 -05:00
parent 07871eacc3
commit 0a0ddfa661
16 changed files with 19 additions and 18 deletions

View file

@ -390,7 +390,7 @@ int DivPlatformQSound::dispatch(DivCommand c) {
switch (c.cmd) {
case DIV_CMD_NOTE_ON: {
DivInstrument* ins=parent->getIns(chan[c.chan].ins,DIV_INS_AMIGA);
chan[c.chan].sample=ins->amiga.initSample;
chan[c.chan].sample=ins->amiga.getSample(c.value);
if (c.value!=DIV_NOTE_NULL) {
chan[c.chan].baseFreq=QS_NOTE_FREQUENCY(c.value);
}