(12*sampleBank+c.value%12)
This commit is contained in:
parent
4695659ae4
commit
d981e59c59
4 changed files with 4 additions and 2 deletions
|
|
@ -158,7 +158,7 @@ int DivPlatformMSM6295::dispatch(DivCommand c) {
|
|||
chan[c.chan].sample=-1;
|
||||
chan[c.chan].macroInit(NULL);
|
||||
chan[c.chan].outVol=chan[c.chan].vol;
|
||||
if ((12*sampleBank+c.value%12)>=parent->song.sampleLen) {
|
||||
if ((12*sampleBank+c.value%12)<0 || (12*sampleBank+c.value%12)>=parent->song.sampleLen) {
|
||||
break;
|
||||
}
|
||||
//DivSample* s=parent->getSample(12*sampleBank+c.value%12);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue