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

@ -263,7 +263,7 @@ int DivPlatformSwan::dispatch(DivCommand c) {
dacPos=0;
dacPeriod=0;
if (ins->type==DIV_INS_AMIGA) {
dacSample=ins->amiga.initSample;
dacSample=ins->amiga.getSample(c.value);
if (dacSample<0 || dacSample>=parent->song.sampleLen) {
dacSample=-1;
if (dumpWrites) addWrite(0xffff0002,0);