OPL4: fix PCM chan osc on ymfm??????
issue #2566 PCM only has two outputs
This commit is contained in:
parent
c3886dd5a8
commit
c08d42b483
|
@ -724,8 +724,6 @@ void DivPlatformOPL::acquire_ymfm4(short** buf, size_t len) {
|
||||||
unsigned char oscOffs=i+pcmChanOffs;
|
unsigned char oscOffs=i+pcmChanOffs;
|
||||||
int chOut=pcmChan[i]->debug_output(0);
|
int chOut=pcmChan[i]->debug_output(0);
|
||||||
chOut+=pcmChan[i]->debug_output(1);
|
chOut+=pcmChan[i]->debug_output(1);
|
||||||
chOut+=pcmChan[i]->debug_output(2);
|
|
||||||
chOut+=pcmChan[i]->debug_output(3);
|
|
||||||
oscBuf[oscOffs]->putSample(h,CLAMP(chOut<<1,-32768,32767));
|
oscBuf[oscOffs]->putSample(h,CLAMP(chOut<<1,-32768,32767));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue