OPL: fix missing ADPCM channel in per-chan osc
This commit is contained in:
parent
dcf06445ba
commit
47293decd3
|
@ -1555,7 +1555,11 @@ DivMacroInt* DivPlatformOPL::getChanMacroInt(int ch) {
|
||||||
}
|
}
|
||||||
|
|
||||||
DivDispatchOscBuffer* DivPlatformOPL::getOscBuffer(int ch) {
|
DivDispatchOscBuffer* DivPlatformOPL::getOscBuffer(int ch) {
|
||||||
|
if (oplType==759) {
|
||||||
|
if (ch>=totalChans+1) return NULL;
|
||||||
|
} else {
|
||||||
if (ch>=totalChans) return NULL;
|
if (ch>=totalChans) return NULL;
|
||||||
|
}
|
||||||
if (oplType==3 && ch<12) {
|
if (oplType==3 && ch<12) {
|
||||||
if (chan[ch&(~1)].fourOp) {
|
if (chan[ch&(~1)].fourOp) {
|
||||||
if (ch&1) {
|
if (ch&1) {
|
||||||
|
|
Loading…
Reference in New Issue