use state instead of accessing ins for block
This commit is contained in:
parent
e713742985
commit
dd9d220f33
16 changed files with 59 additions and 59 deletions
|
|
@ -97,7 +97,7 @@ class DivPlatformYM2610Base: public DivPlatformOPN {
|
|||
return NOTE_PERIODIC(note);
|
||||
}
|
||||
// FM
|
||||
return NOTE_FNUM_BLOCK(note,11,chan[ch].ins);
|
||||
return NOTE_FNUM_BLOCK(note,11,chan[ch].state.block);
|
||||
}
|
||||
double NOTE_ADPCMB(int note) {
|
||||
if (chan[adpcmBChanOffs].sample>=0 && chan[adpcmBChanOffs].sample<parent->song.sampleLen) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue