YM2612: fix per-chan osc overflow in 276
This commit is contained in:
parent
ece7e4460a
commit
9cd609e738
|
|
@ -183,10 +183,10 @@ void DivPlatformGenesis::acquire_nuked(short** buf, size_t len) {
|
||||||
oscBuf[i]->data[oscBuf[i]->needle++]=fm.dacdata<<7;
|
oscBuf[i]->data[oscBuf[i]->needle++]=fm.dacdata<<7;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
oscBuf[i]->data[oscBuf[i]->needle++]=fm.ch_out[i]<<(chipType==2?2:7);
|
oscBuf[i]->data[oscBuf[i]->needle++]=fm.ch_out[i]<<(chipType==2?0:7);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
oscBuf[i]->data[oscBuf[i]->needle++]=fm.ch_out[i]<<(chipType==2?2:7);
|
oscBuf[i]->data[oscBuf[i]->needle++]=fm.ch_out[i]<<(chipType==2?0:7);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue