Y8950: ADPCM is quieter

This commit is contained in:
tildearrow 2022-05-19 18:13:11 -05:00
parent 976c1d3c0d
commit 2c51234213

View file

@ -286,8 +286,8 @@ void DivPlatformOPL::acquire_nuked(short* bufL, short* bufR, size_t start, size_
adpcmB->output<2>(aOut,0); adpcmB->output<2>(aOut,0);
if (!isMuted[adpcmChan]) { if (!isMuted[adpcmChan]) {
os[0]+=aOut.data[0]; os[0]-=aOut.data[0]>>3;
os[1]+=aOut.data[0]; os[1]-=aOut.data[0]>>3;
oscBuf[adpcmChan]->data[oscBuf[adpcmChan]->needle++]+=aOut.data[0]; oscBuf[adpcmChan]->data[oscBuf[adpcmChan]->needle++]+=aOut.data[0];
} else { } else {
oscBuf[adpcmChan]->data[oscBuf[adpcmChan]->needle++]=0; oscBuf[adpcmChan]->data[oscBuf[adpcmChan]->needle++]=0;