bring crash fix from 0.5.8
This commit is contained in:
parent
dee74e7b14
commit
19c4f5559a
11 changed files with 33 additions and 25 deletions
|
|
@ -436,7 +436,7 @@ int DivPlatformYM2610::dispatch(DivCommand c) {
|
|||
immWrite(0x128+c.chan-7,0);
|
||||
break;
|
||||
}
|
||||
DivSample* s=parent->song.sample[12*sampleBank+c.value%12];
|
||||
DivSample* s=parent->getSample(12*sampleBank+c.value%12);
|
||||
immWrite(0x110+c.chan-7,(s->offA>>8)&0xff);
|
||||
immWrite(0x118+c.chan-7,s->offA>>16);
|
||||
int end=s->offA+s->lengthA-1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue