fix sample issues, part 3
This commit is contained in:
parent
5a5d85c4cc
commit
745d1d6c76
21 changed files with 42 additions and 0 deletions
|
|
@ -302,7 +302,9 @@ int DivPlatformVERA::dispatch(DivCommand c) {
|
|||
if (c.value!=DIV_NOTE_NULL) {
|
||||
DivInstrument* ins=parent->getIns(chan[16].ins,DIV_INS_VERA);
|
||||
chan[16].pcm.sample=ins->amiga.getSample(c.value);
|
||||
chan[16].sampleNote=c.value;
|
||||
c.value=ins->amiga.getFreq(c.value);
|
||||
chan[16].sampleNoteDelta=c.value-chan[c.chan].sampleNote;
|
||||
}
|
||||
if (chan[16].pcm.sample<0 || chan[16].pcm.sample>=parent->song.sampleLen) {
|
||||
chan[16].pcm.sample=-1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue