YM2612: fix DAC mute not respecting queue limits
This commit is contained in:
parent
8be2f0adc8
commit
2786b307e3
|
@ -123,7 +123,9 @@ void DivPlatformGenesis::processDAC(int iRate) {
|
|||
chan[5].dacReady=false;
|
||||
}
|
||||
} else {
|
||||
urgentWrite(0x2a,0x80);
|
||||
if (chan[5].dacReady && writes.size()<16) {
|
||||
urgentWrite(0x2a,0x80);
|
||||
}
|
||||
}
|
||||
chan[5].dacPos++;
|
||||
if (!chan[5].dacDirection && (s->isLoopable() && chan[5].dacPos>=(unsigned int)s->loopEnd)) {
|
||||
|
|
Loading…
Reference in New Issue